mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
Fix path bug
This commit is contained in:
parent
3915c8410b
commit
88ce2eafab
@ -14,7 +14,7 @@ class imagick extends Extension
|
||||
public function patchBeforeBuildconf(): bool
|
||||
{
|
||||
// destroy imagick build conf to avoid libgomp build error
|
||||
FileSystem::replaceFileStr(SOURCE_PATH . '/ext/imagick/config.m4', '#include <omp.h>', '#include <NEVER_INCLUDE_OMP_H>');
|
||||
FileSystem::replaceFileStr(SOURCE_PATH . '/php-src/ext/imagick/config.m4', '#include <omp.h>', '#include <NEVER_INCLUDE_OMP_H>');
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user