forgot to add file

This commit is contained in:
henderkes
2026-05-05 11:25:38 +07:00
parent 5f43d6a4b4
commit 7be718edeb

View File

@@ -18,9 +18,9 @@ class imagick extends Extension
return '--with-imagick=' . ($shared ? 'shared,' : '') . BUILD_ROOT_PATH . $disable_omp;
}
protected function splitLibsIntoStaticAndShared(string $allLibs): array
protected function splitLibsIntoStaticAndShared(string $allLibs, array $excludeFromStatic = []): array
{
[$static, $shared] = parent::splitLibsIntoStaticAndShared($allLibs);
[$static, $shared] = parent::splitLibsIntoStaticAndShared($allLibs, $excludeFromStatic);
if (ToolchainManager::getToolchainClass() !== ZigToolchain::class &&
(str_contains(getenv('PATH'), 'rh/devtoolset') || str_contains(getenv('PATH'), 'rh/gcc-toolset'))
) {