Skip to content

Commit 81e7a0c

Browse files
committed
Add without argon2 option
1 parent 4cbe4ea commit 81e7a0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/SPC/builder/extension/openssl.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ public function getUnixConfigureArg(bool $shared = false): string
3030
$args = '--with-openssl=' . ($shared ? 'shared,' : '') . BUILD_ROOT_PATH . $openssl_dir;
3131
if ($this->builder->getPHPVersionID() >= 80500 || !$this->builder->getOption('enable-zts')) {
3232
$args .= ' --with-openssl-argon2 OPENSSL_LIBS="-lz"';
33+
} else {
34+
$args .= ' --without-openssl-argon2';
3335
}
3436
return $args;
3537
}

0 commit comments

Comments
 (0)