add -lpthread and -ldl in openssl::getStaticLibFiles

This commit is contained in:
DubbleClick
2025-06-06 16:56:08 +07:00
parent 92ad792eff
commit 617b0de31f
4 changed files with 15 additions and 4 deletions

View File

@@ -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 ?? [];