rename getStaticAndSharedLibs

This commit is contained in:
DubbleClick
2025-07-25 16:18:04 +07:00
parent 821411cfd6
commit a9fab86269
2 changed files with 5 additions and 5 deletions

View File

@@ -16,9 +16,9 @@ class imagick extends Extension
return '--with-imagick=' . ($shared ? 'shared,' : '') . BUILD_ROOT_PATH . $disable_omp;
}
protected function getStaticAndSharedLibs(string $allLibs): array
protected function splitLibsIntoStaticAndShared(string $allLibs): array
{
[$static, $shared] = parent::getStaticAndSharedLibs($allLibs);
[$static, $shared] = parent::splitLibsIntoStaticAndShared($allLibs);
if (str_contains(getenv('PATH'), 'rh/devtoolset-10')) {
$static .= ' -l:libstdc++.a';
$shared = str_replace('-lstdc++', '', $shared);