add static-php-cli.version ini for php-src

This commit is contained in:
crazywhalecc
2024-02-04 10:56:29 +08:00
committed by Jerry Ma
parent 2591b48abe
commit 839931d65f
3 changed files with 20 additions and 1 deletions

View File

@@ -104,6 +104,9 @@ class BuildCliCommand extends BuildCommand
SourcePatcher::patchHardcodedINI($custom_ini);
}
// add static-php-cli.version to main.c, in order to debug php failure more easily
SourcePatcher::patchSPCVersionToPHP($this->getApplication()->getVersion());
// start to build
$builder->buildPHP($rule);