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