suboptimal solutions, but a bit closer to building

This commit is contained in:
DubbleClick
2025-06-23 12:57:00 +07:00
parent 955b586908
commit 7628847a46
6 changed files with 7 additions and 5 deletions

View File

@@ -147,7 +147,7 @@ class SPCConfigUtil
}
// patch: imagick (imagemagick wrapper) for linux needs libgomp
if (in_array('imagemagick', $libraries) && PHP_OS_FAMILY === 'Linux' && !(getenv('SPC_LIBC') === 'glibc' && str_contains(getenv('CC'), 'devtoolset-10'))) {
$short_name[] = '-lgomp';
$short_name[] = '-lomp';
}
return implode(' ', $short_name);
}