From a6ea49981d331233283c9879a7b9040332cfcc78 Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Sat, 7 Jun 2025 20:29:19 +0700 Subject: [PATCH] ngtcp2 patch la files --- src/SPC/builder/unix/library/ngtcp2.php | 1 + src/globals/test-extensions.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SPC/builder/unix/library/ngtcp2.php b/src/SPC/builder/unix/library/ngtcp2.php index 8ea280a8..bfe44900 100644 --- a/src/SPC/builder/unix/library/ngtcp2.php +++ b/src/SPC/builder/unix/library/ngtcp2.php @@ -49,6 +49,7 @@ trait ngtcp2 ->execWithEnv("make -j{$this->builder->concurrency}") ->execWithEnv('make install DESTDIR=' . BUILD_ROOT_PATH); $this->patchPkgconfPrefix(['libngtcp2.pc', 'libngtcp2_crypto_ossl.pc']); + $this->patchLaDependencyPrefix(['libngtcp2.la', 'libngtcp2_crypto_ossl.la']); // 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 diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index 62963ce6..cdd03264 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -57,7 +57,7 @@ $shared_extensions = match (PHP_OS_FAMILY) { // If you want to test lib-suggests feature with extension, add them below (comma separated, example `libwebp,libavif`). $with_libs = match (PHP_OS_FAMILY) { - 'Linux', 'Darwin' => '', + 'Linux', 'Darwin' => 'ngtcp2,nghttp2,nghttp3,libavif', 'Windows' => '', };