Add intl/ICU support

This commit is contained in:
Marcel Pociot
2023-06-02 11:47:11 +02:00
parent 09ba11affb
commit 1158931d91
7 changed files with 68 additions and 2 deletions

View File

@@ -123,7 +123,7 @@ class MacOSBuilder extends BuilderBase
*/
public function buildPHP(int $build_target = BUILD_TARGET_NONE, bool $bloat = false): void
{
$extra_libs = $this->getFrameworks(true) . ' ' . ($this->getExt('swoole') ? '-lc++ ' : '');
$extra_libs = $this->getFrameworks(true) . ' ' . ($this->getExt('swoole') || $this->getExt('intl') ? '-lc++ ' : '');
if (!$bloat) {
$extra_libs .= implode(' ', $this->getAllStaticLibFiles());
} else {