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