mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 00:35:41 +08:00
add -lpthread and -ldl in openssl::getStaticLibFiles
This commit is contained in:
@@ -56,7 +56,7 @@ class MacOSBuilder extends UnixBuilderBase
|
||||
foreach ($lib_specs as $libName => $arr) {
|
||||
$lib = $this->getLib($libName);
|
||||
if ($lib === null && str_starts_with($libName, 'lib')) {
|
||||
$lib = $this->getExt(substr($libName, 3));
|
||||
$lib = $this->getLib(substr($libName, 3));
|
||||
}
|
||||
|
||||
$arr = $arr ?? [];
|
||||
|
||||
Reference in New Issue
Block a user