Remove --with-zlib-dir that has been removed in 8.4

This commit is contained in:
crazywhalecc 2024-11-03 13:56:02 +08:00 committed by Jerry Ma
parent 1186bac49c
commit 610fb66b0c

View File

@ -12,6 +12,9 @@ class zlib extends Extension
{
public function getUnixConfigureArg(): string
{
if ($this->builder->getPHPVersionID() >= 80400) {
return '--with-zlib';
}
return '--with-zlib --with-zlib-dir="' . BUILD_ROOT_PATH . '"';
}
}