mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-14 04:15:35 +08:00
Fix shared extension does not build bug
This commit is contained in:
@@ -202,12 +202,12 @@ abstract class BuilderBase
|
|||||||
$class = CustomExt::getExtClass($extension);
|
$class = CustomExt::getExtClass($extension);
|
||||||
/** @var Extension $ext */
|
/** @var Extension $ext */
|
||||||
$ext = new $class($extension, $this);
|
$ext = new $class($extension, $this);
|
||||||
$this->addExt($ext);
|
|
||||||
if (in_array($extension, $shared_build_extensions)) {
|
if (in_array($extension, $shared_build_extensions)) {
|
||||||
$ext->setBuildShared();
|
$ext->setBuildShared();
|
||||||
} else {
|
} else {
|
||||||
$ext->setBuildStatic();
|
$ext->setBuildStatic();
|
||||||
}
|
}
|
||||||
|
$this->addExt($ext);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($skip_check_deps) {
|
if ($skip_check_deps) {
|
||||||
|
|||||||
Reference in New Issue
Block a user