mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-14 04:15:35 +08:00
patch correct pc
This commit is contained in:
@@ -22,7 +22,7 @@ trait libde265
|
|||||||
->build();
|
->build();
|
||||||
|
|
||||||
if (PHP_OS_FAMILY === 'Linux') {
|
if (PHP_OS_FAMILY === 'Linux') {
|
||||||
$libheifpc = realpath(BUILD_LIB_PATH . '/pkgconfig/libheif.pc');
|
$libheifpc = realpath(BUILD_LIB_PATH . '/pkgconfig/libde265.pc');
|
||||||
FileSystem::replaceFileStr($libheifpc, '-lc++', '-lstdc++');
|
FileSystem::replaceFileStr($libheifpc, '-lc++', '-lstdc++');
|
||||||
}
|
}
|
||||||
$this->patchPkgconfPrefix(['libde265.pc']);
|
$this->patchPkgconfPrefix(['libde265.pc']);
|
||||||
|
|||||||
Reference in New Issue
Block a user