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

@@ -29,9 +29,9 @@ abstract class WindowsLibraryBase extends LibraryBase
* @throws FileSystemException
* @throws WrongUsageException
*/
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 = [$this];
$libs = $include_self ? [$this] : [];
if ($recursive) {
array_unshift($libs, ...array_values($this->getDependencies(recursive: true)));
}