mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Store original source directory before modification
This commit is contained in:
parent
e9ad3c0011
commit
f14df1925c
@ -11,6 +11,7 @@ trait krb5
|
||||
{
|
||||
protected function build(): void
|
||||
{
|
||||
$origin_source_dir = $this->source_dir;
|
||||
$this->source_dir .= '/src';
|
||||
shell()->cd($this->source_dir)->exec('autoreconf -if');
|
||||
$libs = array_map(fn ($x) => $x->getName(), $this->getDependencies(true));
|
||||
@ -51,5 +52,6 @@ trait krb5
|
||||
'mit-krb5.pc',
|
||||
'gssrpc.pc',
|
||||
]);
|
||||
$this->source_dir = $origin_source_dir;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user