mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 21:34:53 +08:00
remove getLibFilesString from Extension buildUnixShared
This commit is contained in:
parent
0ebd44bc4f
commit
a99c4a3fee
@ -356,9 +356,7 @@ class Extension
|
||||
{
|
||||
$config = (new SPCConfigUtil($this->builder))->config([$this->getName()], with_dependencies: true);
|
||||
$sharedLibs = '';
|
||||
$staticLibs = $this->getLibFilesString();
|
||||
$staticLibs = str_replace(BUILD_LIB_PATH . '/lib', '-l', $staticLibs);
|
||||
$staticLibs = str_replace('.a', '', $staticLibs);
|
||||
$staticLibs = '';
|
||||
foreach (explode('-l', $config['libs']) as $lib) {
|
||||
$lib = trim($lib);
|
||||
if ($lib === '') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user