Patch both

This commit is contained in:
crazywhalecc 2025-07-23 14:35:34 +08:00
parent 4c56c96326
commit 3d19299d30
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -43,7 +43,7 @@ trait libxslt
}
$ac->configure()->make();
$this->patchPkgconfPrefix(['libxslt.pc']);
$this->patchPkgconfPrefix(['libexslt.pc', 'libxslt.pc']);
$this->patchLaDependencyPrefix();
shell()->cd(BUILD_LIB_PATH)
->exec("ar -t libxslt.a | grep '\\.a$' | xargs -n1 ar d libxslt.a")