diff --git a/src/SPC/builder/extension/snappy.php b/src/SPC/builder/extension/snappy.php index ad80518f..2dc2a33a 100644 --- a/src/SPC/builder/extension/snappy.php +++ b/src/SPC/builder/extension/snappy.php @@ -21,7 +21,7 @@ class snappy extends Extension FileSystem::replaceFileRegex( SOURCE_PATH . '/php-src/configure', '/-lsnappy/', - $this->getLibFilesString() . $this->builder instanceof MacOSBuilder ? ' -lc++' : ' -lstdc++' + $this->getLibFilesString() . ($this->builder instanceof MacOSBuilder ? ' -lc++' : ' -lstdc++') ); return true; }