mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 07:15:38 +08:00
-lomp on macos
This commit is contained in:
@@ -146,6 +146,9 @@ class SPCConfigUtil
|
||||
if (in_array('imagemagick', $libraries) && PHP_OS_FAMILY === 'Linux' && !(getenv('SPC_LIBC') === 'glibc' && str_contains(getenv('CC'), 'devtoolset-10'))) {
|
||||
$short_name[] = '-lgomp';
|
||||
}
|
||||
if (in_array('imagemagick', $libraries) && PHP_OS_FAMILY === 'Darwin') {
|
||||
$short_name[] = '-lomp';
|
||||
}
|
||||
return implode(' ', $short_name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user