diff options
author | fuzzard <fuzzard@users.noreply.github.com> | 2023-09-27 19:40:49 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 19:40:49 +1000 |
commit | d209845f11f9e648509f62e4a79bbe4d2a457ec9 (patch) | |
tree | e4794412ac958c9dcfc0eb3e32b78efe3c6a5fa3 /tools | |
parent | da558107f42e149d544e3d9603aa4c61996ddf19 (diff) | |
parent | d6ad14304628e9e3949b3bc06307341581a234da (diff) |
Merge pull request #23829 from fuzzard/depends_apple_fixsonomagettext
[tools/depends][native] gettext force am_cv_func_iconv_works for apple host
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/native/gettext/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/depends/native/gettext/Makefile b/tools/depends/native/gettext/Makefile index 5a8fee1220..f78aceab1f 100644 --- a/tools/depends/native/gettext/Makefile +++ b/tools/depends/native/gettext/Makefile @@ -22,6 +22,14 @@ CONFIGURE=./configure --prefix=$(PREFIX) \ --without-git --without-cvs \ --disable-shared --disable-curses --disable-acl --disable-c++ --disable-nls +ifeq ($(NATIVE_OS), osx) + # As per homebrew - https://github.com/Homebrew/homebrew-core/blob/f6df737d9479dd215185000a3dbd641185eafec2/Formula/g/gettext.rb#L52C1-L55 + # Sonoma iconv() has a regression w.r.t. transliteration, which happens to + # break gettext's configure check. Force it. + # Reported to Apple as FB13163914 + CONFIGURE+= am_cv_func_iconv_works=y +endif + LIBDYLIB=$(PLATFORM)/gettext-tools/src/.libs/libgettextsrc.a all: .installed-$(PLATFORM) |