mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
don't replace -lc++?
This commit is contained in:
parent
f6a1065cd7
commit
8b37c64088
@ -20,11 +20,6 @@ trait libde265
|
||||
UnixCMakeExecutor::create($this)
|
||||
->addConfigureArgs('-DENABLE_SDL=OFF')
|
||||
->build();
|
||||
|
||||
if (PHP_OS_FAMILY === 'Linux') {
|
||||
$libheifpc = realpath(BUILD_LIB_PATH . '/pkgconfig/libde265.pc');
|
||||
FileSystem::replaceFileStr($libheifpc, '-lc++', '-lstdc++');
|
||||
}
|
||||
$this->patchPkgconfPrefix(['libde265.pc']);
|
||||
}
|
||||
}
|
||||
|
||||
@ -40,10 +40,6 @@ trait libheif
|
||||
'-DENABLE_PLUGIN_LOADING=OFF',
|
||||
)
|
||||
->build();
|
||||
if (PHP_OS_FAMILY === 'Linux') {
|
||||
$libheifpc = realpath(BUILD_LIB_PATH . '/pkgconfig/libheif.pc');
|
||||
FileSystem::replaceFileStr($libheifpc, '-lc++', '-lstdc++');
|
||||
}
|
||||
$this->patchPkgconfPrefix(['libheif.pc']);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user