mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-12 03:15:35 +08:00
Fix operator precedence
This commit is contained in:
committed by
Jerry Ma
parent
0381a1c412
commit
88e9639482
@@ -21,7 +21,7 @@ class snappy extends Extension
|
|||||||
FileSystem::replaceFileRegex(
|
FileSystem::replaceFileRegex(
|
||||||
SOURCE_PATH . '/php-src/configure',
|
SOURCE_PATH . '/php-src/configure',
|
||||||
'/-lsnappy/',
|
'/-lsnappy/',
|
||||||
$this->getLibFilesString() . $this->builder instanceof MacOSBuilder ? ' -lc++' : ' -lstdc++'
|
$this->getLibFilesString() . ($this->builder instanceof MacOSBuilder ? ' -lc++' : ' -lstdc++')
|
||||||
);
|
);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user