We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c09ba5 commit ea4905cCopy full SHA for ea4905c
src/SPC/builder/extension/openssl.php
@@ -28,7 +28,7 @@ public function getUnixConfigureArg(bool $shared = false): string
28
{
29
$openssl_dir = $this->builder->getPHPVersionID() >= 80400 ? '' : ' --with-openssl-dir=' . BUILD_ROOT_PATH;
30
$args = '--with-openssl=' . ($shared ? 'shared,' : '') . BUILD_ROOT_PATH . $openssl_dir;
31
- if ($this->builder->getPHPVersionID() >= 80500) {
+ if ($this->builder->getPHPVersionID() >= 80500 || !$this->builder->getOption('enable-zts')) {
32
$args .= ' --with-openssl-argon2 OPENSSL_LIBS="-lz"';
33
}
34
return $args;
0 commit comments