Skip to content

Commit c30b34a

Browse files
committed
Fix gettext missing symbols on macOS
1 parent da5c6fd commit c30b34a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/builder/extension/gettext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class gettext extends Extension
1515
public function patchBeforeBuildconf(): bool
1616
{
1717
if ($this->builder instanceof MacOSBuilder) {
18-
FileSystem::replaceFileStr(SOURCE_PATH . '/php-src/ext/gettext/config.m4', 'AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB', 'AC_CHECK_LIB(intl');
18+
FileSystem::replaceFileStr(SOURCE_PATH . '/php-src/ext/gettext/config.m4', 'AC_CHECK_LIB([$GETTEXT_CHECK_IN_LIB', 'AC_CHECK_LIB([intl');
1919
}
2020
return true;
2121
}

0 commit comments

Comments
 (0)