mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-05 15:55:39 +08:00
Forward-port #1115
This commit is contained in:
@@ -55,6 +55,10 @@ trait unix
|
||||
foreach (glob("{$package->getSourceDir()}/ext/*/*.m4") as $m4file) {
|
||||
FileSystem::replaceFileStr($m4file, 'PKG_CHECK_MODULES(', 'PKG_CHECK_MODULES_STATIC(');
|
||||
}
|
||||
|
||||
if (self::getPHPVersionID() >= 80300 && self::getPHPVersionID() < 80400) {
|
||||
SourcePatcher::patchFile('spc_fix_avx512_cache_before_80400.patch', $this->getSourceDir());
|
||||
}
|
||||
}
|
||||
|
||||
#[Stage]
|
||||
|
||||
Reference in New Issue
Block a user