Try nonshared libgomp

This commit is contained in:
crazywhalecc
2025-03-29 17:10:06 +08:00
parent 9a7889e46b
commit bce513d189
2 changed files with 2 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ class SPCConfigUtil
// patch: imagick (imagemagick wrapper) for linux needs -lgomp
if (in_array('imagemagick', $libraries) && PHP_OS_FAMILY === 'Linux') {
if (getenv('SPC_LIBC') === 'glibc') {
$short_name[] = '-l:libgomp.a';
$short_name[] = '-l:libgomp.a -l:libgomp_nonshared.a';
} else {
$short_name[] = '-lgomp';
}