mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-14 04:15:35 +08:00
actually path php makefile
This commit is contained in:
@@ -195,7 +195,7 @@ class Extension
|
|||||||
($extra = (new ZigToolchain())->getExtraRuntimeObjects())
|
($extra = (new ZigToolchain())->getExtraRuntimeObjects())
|
||||||
) {
|
) {
|
||||||
FileSystem::replaceFileRegex(
|
FileSystem::replaceFileRegex(
|
||||||
$this->source_dir . '/Makefile',
|
SOURCE_PATH . '/php-src/Makefile',
|
||||||
"/^(shared_objects_{$this->getName()}\\s*=.*)$/m",
|
"/^(shared_objects_{$this->getName()}\\s*=.*)$/m",
|
||||||
"$1 {$extra}",
|
"$1 {$extra}",
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user