Fix all extension builds

This commit is contained in:
crazywhalecc
2025-07-22 21:13:35 +08:00
parent 6634ade6b4
commit 1888b735d1
13 changed files with 28 additions and 170 deletions

View File

@@ -9,13 +9,4 @@ class curl extends LinuxLibraryBase
use \SPC\builder\unix\library\curl;
public const NAME = 'curl';
public function getStaticLibFiles(string $style = 'autoconf', bool $recursive = true, bool $include_self = true): string
{
$libs = parent::getStaticLibFiles($style, $recursive, $include_self);
if ($this->builder->getLib('openssl')) {
$libs .= ' -ldl -lpthread';
}
return $libs;
}
}