From 60b2aea09e7a1a90a8636add22ebe9fb6f5427ec Mon Sep 17 00:00:00 2001 From: henderkes Date: Wed, 18 Mar 2026 11:57:27 +0700 Subject: [PATCH] fix libde265 on ancient debian OS? --- src/SPC/builder/unix/library/libde265.php | 1 + src/globals/test-extensions.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/SPC/builder/unix/library/libde265.php b/src/SPC/builder/unix/library/libde265.php index 9549a2ec..04195a5d 100644 --- a/src/SPC/builder/unix/library/libde265.php +++ b/src/SPC/builder/unix/library/libde265.php @@ -11,6 +11,7 @@ trait libde265 protected function build(): void { UnixCMakeExecutor::create($this) + ->appendEnv(['LDFLAGS' => '-lpthread']) ->addConfigureArgs('-DENABLE_SDL=OFF') ->build(); $this->patchPkgconfPrefix(['libde265.pc']); diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index bfae094a..9fae2625 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -50,7 +50,7 @@ $prefer_pre_built = false; // If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`). $extensions = match (PHP_OS_FAMILY) { - 'Linux', 'Darwin' => 'grpc', + 'Linux', 'Darwin' => 'imagick', 'Windows' => 'com_dotnet', }; @@ -62,7 +62,7 @@ $shared_extensions = match (PHP_OS_FAMILY) { }; // If you want to test lib-suggests for all extensions and libraries, set it to true. -$with_suggested_libs = false; +$with_suggested_libs = true; // If you want to test extra libs for extensions, add them below (comma separated, example `libwebp,libavif`). Unnecessary, when $with_suggested_libs is true. $with_libs = match (PHP_OS_FAMILY) {