remove getLibFilesString from Extension buildUnixShared

This commit is contained in:
DubbleClick 2025-06-08 08:13:03 +07:00
parent 0ebd44bc4f
commit a99c4a3fee

View File

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