fix logic errors in shared ext patching

This commit is contained in:
henderkes
2026-05-09 15:09:59 +07:00
parent 88d2f0fc52
commit dc6e63e1ba
2 changed files with 9 additions and 9 deletions

View File

@@ -306,7 +306,7 @@ class PhpExtensionPackage extends Package
shell()->cd($package->getSourceDir())
->setEnv($env)
->exec(
'./configure ' . $this->getPhpConfigureArg(SystemTarget::getCurrentPlatformString(), true) .
'./configure ' . $this->getPhpConfigureArg(SystemTarget::getTargetOS(), true) .
' --with-php-config=' . BUILD_BIN_PATH . '/php-config ' .
"--enable-shared --disable-static {$phpvars}"
);