= 80400 ? '' : ' --with-openssl-dir=' . BUILD_ROOT_PATH; $args = '--with-openssl=' . ($shared ? 'shared,' : '') . BUILD_ROOT_PATH . $openssl_dir; if (php::getPHPVersionID() >= 80500 || (php::getPHPVersionID() >= 80400 && !$builder->getOption('enable-zts'))) { $args .= ' --with-openssl-argon2 OPENSSL_LIBS="-lz"'; } return $args; } #[CustomPhpConfigureArg('Windows')] public function getWindowsConfigureArg(PackageBuilder $builder): string { $args = '--with-openssl'; if (php::getPHPVersionID() >= 80500 || (php::getPHPVersionID() >= 80400 && !$builder->getOption('enable-zts'))) { $args .= ' --with-openssl-argon2'; } return $args; } }