From 93001dce88fff209141124df37cd187332db9f67 Mon Sep 17 00:00:00 2001 From: Jerry Ma Date: Sun, 3 Aug 2025 22:47:02 +0800 Subject: [PATCH] Update src/SPC/builder/macos/MacOSBuilder.php Co-authored-by: Marc --- src/SPC/builder/macos/MacOSBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SPC/builder/macos/MacOSBuilder.php b/src/SPC/builder/macos/MacOSBuilder.php index 768567c8..feef9629 100644 --- a/src/SPC/builder/macos/MacOSBuilder.php +++ b/src/SPC/builder/macos/MacOSBuilder.php @@ -99,7 +99,7 @@ class MacOSBuilder extends UnixBuilderBase SourcePatcher::patchBeforeConfigure($this); $phpVersionID = $this->getPHPVersionID(); - $json_74 = $phpVersionID < 80000 ? '--enable-json ' : ''; + $json_74 = $this->getPHPVersionID() < 80000 ? '--enable-json ' : ''; $zts = $this->getOption('enable-zts', false) ? '--enable-zts --disable-zend-signals ' : ''; $opcache_jit = !$this->getOption('disable-opcache-jit', false);