mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
another way where static extensions would be excluded if also compiled shared
This commit is contained in:
parent
234df8d11f
commit
c972a94876
@ -294,7 +294,7 @@ abstract class BuilderBase
|
||||
$ret = [];
|
||||
foreach ($this->getExts() as $ext) {
|
||||
$arg = $ext->getConfigureArg();
|
||||
if ($ext->isBuildShared()) {
|
||||
if ($ext->isBuildShared() && !$ext->isBuildStatic()) {
|
||||
if (
|
||||
(Config::getExt($ext->getName(), 'type') === 'builtin' &&
|
||||
!file_exists(SOURCE_PATH . '/php-src/ext/' . $ext->getName() . '/config.m4')) ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user