mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 00:35:41 +08:00
Remove deprecated args for PHP 8.4 (#616)
* Remove deprecated args for PHP 8.4 * Add tests * Use nts for testing * Test * memcache still uses `--with-zlib-dir`
This commit is contained in:
@@ -25,6 +25,7 @@ class openssl extends Extension
|
||||
|
||||
public function getUnixConfigureArg(): string
|
||||
{
|
||||
return '--with-openssl=' . BUILD_ROOT_PATH . ' --with-openssl-dir=' . BUILD_ROOT_PATH;
|
||||
$openssl_dir = $this->builder->getPHPVersionID() >= 80400 ? '' : ' --with-openssl-dir=' . BUILD_ROOT_PATH;
|
||||
return '--with-openssl=' . BUILD_ROOT_PATH . $openssl_dir;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user