We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c30b34a commit 4cdc6a0Copy full SHA for 4cdc6a0
src/SPC/builder/extension/gettext.php
@@ -15,7 +15,10 @@ class gettext extends Extension
15
public function patchBeforeBuildconf(): bool
16
{
17
if ($this->builder instanceof MacOSBuilder) {
18
+ // new php versions
19
FileSystem::replaceFileStr(SOURCE_PATH . '/php-src/ext/gettext/config.m4', 'AC_CHECK_LIB([$GETTEXT_CHECK_IN_LIB', 'AC_CHECK_LIB([intl');
20
+ // old php versions
21
+ FileSystem::replaceFileStr(SOURCE_PATH . '/php-src/ext/gettext/config.m4', 'AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB', 'AC_CHECK_LIB(intl');
22
}
23
return true;
24
0 commit comments