mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 21:04:52 +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
|
protected function build(): void
|
||||||
{
|
{
|
||||||
|
$origin_source_dir = $this->source_dir;
|
||||||
$this->source_dir .= '/src';
|
$this->source_dir .= '/src';
|
||||||
shell()->cd($this->source_dir)->exec('autoreconf -if');
|
shell()->cd($this->source_dir)->exec('autoreconf -if');
|
||||||
$libs = array_map(fn ($x) => $x->getName(), $this->getDependencies(true));
|
$libs = array_map(fn ($x) => $x->getName(), $this->getDependencies(true));
|
||||||
@ -51,5 +52,6 @@ trait krb5
|
|||||||
'mit-krb5.pc',
|
'mit-krb5.pc',
|
||||||
'gssrpc.pc',
|
'gssrpc.pc',
|
||||||
]);
|
]);
|
||||||
|
$this->source_dir = $origin_source_dir;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user