File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public function patchBeforeMake(): bool
2121 $ extra_libs = trim ($ extra_libs . ' -lgomp ' );
2222 }
2323 if (getenv ('SPC_LIBC ' ) === 'glibc ' ) {
24- $ extra_libs = trim ($ extra_libs . ' -l: libgomp.a ' );
24+ $ extra_libs = trim ($ extra_libs . ' / libgomp.a ' );
2525 }
2626 f_putenv ('SPC_EXTRA_LIBS= ' . $ extra_libs );
2727 return true ;
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ private function getLibsString(array $libraries): string
9393 // patch: imagick (imagemagick wrapper) for linux needs -lgomp
9494 if (in_array ('imagemagick ' , $ libraries ) && PHP_OS_FAMILY === 'Linux ' ) {
9595 if (getenv ('SPC_LIBC ' ) === 'glibc ' ) {
96- $ short_name [] = '-l: libgomp.a -l:libgomp_nonshared .a ' ;
96+ $ short_name [] = '/ libgomp.a ' ;
9797 } else {
9898 $ short_name [] = '-lgomp ' ;
9999 }
You can’t perform that action at this time.
0 commit comments