make patchLaDependencyPrefix argument optional, remove cleanLaFiles

This commit is contained in:
DubbleClick
2025-06-10 19:46:55 +07:00
parent 684b5d4534
commit 9ed62b02b6
17 changed files with 26 additions and 42 deletions

View File

@@ -44,7 +44,7 @@ trait ngtcp2
->exec("make -j{$this->builder->concurrency}")
->exec('make install DESTDIR=' . BUILD_ROOT_PATH);
$this->patchPkgconfPrefix(['libngtcp2.pc', 'libngtcp2_crypto_ossl.pc']);
$this->patchLaDependencyPrefix(['libngtcp2.la', 'libngtcp2_crypto_ossl.la']);
$this->patchLaDependencyPrefix();
// on macOS, the static library may contain other static libraries?
// ld: archive member 'libssl.a' not a mach-o file in libngtcp2_crypto_ossl.a