Skip to content

Commit 4cbe4ea

Browse files
committed
Revert corrupted revert
1 parent ea4905c commit 4cbe4ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/SPC/builder/macos/MacOSBuilder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ public function buildPHP(int $build_target = BUILD_TARGET_NONE): void
9898
$this->emitPatchPoint('before-php-configure');
9999
SourcePatcher::patchBeforeConfigure($this);
100100

101-
$json_74 = $this->getPHPVersionID() < 80000 ? '--enable-json ' : '';
101+
$phpVersionID = $this->getPHPVersionID();
102+
$json_74 = $phpVersionID < 80000 ? '--enable-json ' : '';
102103
$zts = $this->getOption('enable-zts', false) ? '--enable-zts --disable-zend-signals ' : '';
103104

104105
$opcache_jit = !$this->getOption('disable-opcache-jit', false);

0 commit comments

Comments
 (0)