mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-19 06:45:35 +08:00
Remove --with-zlib-dir that has been removed in 8.4
This commit is contained in:
@@ -12,6 +12,9 @@ class zlib extends Extension
|
|||||||
{
|
{
|
||||||
public function getUnixConfigureArg(): string
|
public function getUnixConfigureArg(): string
|
||||||
{
|
{
|
||||||
|
if ($this->builder->getPHPVersionID() >= 80400) {
|
||||||
|
return '--with-zlib';
|
||||||
|
}
|
||||||
return '--with-zlib --with-zlib-dir="' . BUILD_ROOT_PATH . '"';
|
return '--with-zlib --with-zlib-dir="' . BUILD_ROOT_PATH . '"';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user