mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-20 23:35:37 +08:00
Fix zlib autoconf builder
This commit is contained in:
@@ -16,7 +16,7 @@ trait zlib
|
|||||||
*/
|
*/
|
||||||
protected function build(): void
|
protected function build(): void
|
||||||
{
|
{
|
||||||
UnixAutoconfExecutor::create($this)->configure('--static')->make();
|
UnixAutoconfExecutor::create($this)->exec("./configure --static --prefix={$this->getBuildRootPath()}")->make();
|
||||||
$this->patchPkgconfPrefix(['zlib.pc']);
|
$this->patchPkgconfPrefix(['zlib.pc']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user