Fix libxslt lib compile bug

This commit is contained in:
crazywhalecc
2025-06-10 15:33:41 +08:00
committed by Jerry Ma
parent 6cb2cdd5a2
commit 11f21304f9
6 changed files with 11 additions and 12 deletions

View File

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