This commit is contained in:
crazywhalecc 2025-08-04 01:10:08 +08:00
parent 81e7a0c554
commit 4fb4e42896
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -30,8 +30,6 @@ class openssl extends Extension
$args = '--with-openssl=' . ($shared ? 'shared,' : '') . BUILD_ROOT_PATH . $openssl_dir; $args = '--with-openssl=' . ($shared ? 'shared,' : '') . BUILD_ROOT_PATH . $openssl_dir;
if ($this->builder->getPHPVersionID() >= 80500 || !$this->builder->getOption('enable-zts')) { if ($this->builder->getPHPVersionID() >= 80500 || !$this->builder->getOption('enable-zts')) {
$args .= ' --with-openssl-argon2 OPENSSL_LIBS="-lz"'; $args .= ' --with-openssl-argon2 OPENSSL_LIBS="-lz"';
} else {
$args .= ' --without-openssl-argon2';
} }
return $args; return $args;
} }