Update src/SPC/builder/macos/MacOSBuilder.php

Co-authored-by: Marc <m@pyc.ac>
This commit is contained in:
Jerry Ma 2025-08-03 22:47:02 +08:00 committed by GitHub
parent 2d6d25cadf
commit 93001dce88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);