mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-10 02:15:36 +08:00
Add without argon2 option
This commit is contained in:
@@ -30,6 +30,8 @@ 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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user