Skip to content

Commit f9f4ca9

Browse files
authored
fix openssl check for password-argon2 (#1140)
2 parents 8d038f4 + 99a512c commit f9f4ca9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SPC/builder/extension/password_argon2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function runCliCheckUnix(): void
2626

2727
public function getConfigureArg(bool $shared = false): string
2828
{
29-
if ($this->builder->getLib('openssl') !== null) {
29+
if ($this->builder->getExt('openssl')?->isBuildStatic() || $this->isBuildShared()) {
3030
if ($this->builder->getPHPVersionID() >= 80500 || ($this->builder->getPHPVersionID() >= 80400 && !$this->builder->getOption('enable-zts'))) {
3131
return '--without-password-argon2'; // use --with-openssl-argon2 in openssl extension instead
3232
}

0 commit comments

Comments
 (0)