mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 00:05:42 +08:00
Test
This commit is contained in:
@@ -87,6 +87,7 @@ class SourcePatcher
|
||||
}
|
||||
|
||||
// patch configure.ac
|
||||
/*
|
||||
$musl = SPCTarget::getLibc() === 'musl';
|
||||
FileSystem::replaceFileStr(
|
||||
SOURCE_PATH . '/php-src/configure.ac',
|
||||
@@ -96,6 +97,7 @@ class SourcePatcher
|
||||
if (getenv('SPC_LIBC') === false && ($libc = SPCTarget::getLibc()) !== null) {
|
||||
putenv("SPC_LIBC={$libc}");
|
||||
}
|
||||
*/
|
||||
|
||||
// patch php-src/build/php.m4 PKG_CHECK_MODULES -> PKG_CHECK_MODULES_STATIC
|
||||
FileSystem::replaceFileStr(SOURCE_PATH . '/php-src/build/php.m4', 'PKG_CHECK_MODULES(', 'PKG_CHECK_MODULES_STATIC(');
|
||||
|
||||
Reference in New Issue
Block a user