mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
remove old extension file before building new php version
This commit is contained in:
parent
056971fcbc
commit
7f9da6478f
@ -207,6 +207,8 @@ class BuildPHPCommand extends BuildCommand
|
|||||||
// add static-php-cli.version to main.c, in order to debug php failure more easily
|
// add static-php-cli.version to main.c, in order to debug php failure more easily
|
||||||
SourcePatcher::patchSPCVersionToPHP($this->getApplication()->getVersion());
|
SourcePatcher::patchSPCVersionToPHP($this->getApplication()->getVersion());
|
||||||
|
|
||||||
|
// clean old modules that may conflict with the new php build
|
||||||
|
FileSystem::removeDir(BUILD_MODULES_PATH);
|
||||||
// start to build
|
// start to build
|
||||||
$builder->buildPHP($rule);
|
$builder->buildPHP($rule);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user