mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +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 = [];
|
$ret = [];
|
||||||
foreach ($this->getExts() as $ext) {
|
foreach ($this->getExts() as $ext) {
|
||||||
$arg = $ext->getConfigureArg();
|
$arg = $ext->getConfigureArg();
|
||||||
if ($ext->isBuildShared()) {
|
if ($ext->isBuildShared() && !$ext->isBuildStatic()) {
|
||||||
if (
|
if (
|
||||||
(Config::getExt($ext->getName(), 'type') === 'builtin' &&
|
(Config::getExt($ext->getName(), 'type') === 'builtin' &&
|
||||||
!file_exists(SOURCE_PATH . '/php-src/ext/' . $ext->getName() . '/config.m4')) ||
|
!file_exists(SOURCE_PATH . '/php-src/ext/' . $ext->getName() . '/config.m4')) ||
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user