File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -222,6 +222,9 @@ jobs:
222222 sed -i.bak -f ci/config.mk.optimized.sed src/auto/config.mk
223223 fi
224224
225+ # Use Homebrew libiconv since Apple iconv is broken since macOS 14
226+ sed -i.bak -f ci/config.mk.brew-libiconv.sed src/auto/config.mk
227+
225228 - name : Modify configure result
226229 if : inputs.publish
227230 run : |
Original file line number Diff line number Diff line change 1+ # Use Homebrew libiconv to work around broken Apple version. Use static linking
2+ # as we don't want our binary releases to pull in third-party dependencies.
3+ #
4+ # If gettext is configured in the build, this only works libintl is also built
5+ # against Homebrew libiconv (which is not the default in Homebrew).
6+ /^ CFLAGS[[:blank :] ] * = /s /$ / -I\/ opt\/ homebrew\/ opt\/ libiconv\/ include /
7+ /^ LIBS[[:blank :] ] * = /s /-liconv /\/ opt\/ homebrew\/ opt\/ libiconv\/ lib\/ libiconv.a /
You can’t perform that action at this time.
0 commit comments