fix libde265 on ancient debian OS?

This commit is contained in:
henderkes
2026-03-18 11:57:27 +07:00
parent 281b958075
commit 60b2aea09e
2 changed files with 3 additions and 2 deletions

View File

@@ -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']);

View File

@@ -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) {