diff options
author | fuzzard <fuzzard@users.noreply.github.com> | 2023-12-31 13:37:01 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-31 13:37:01 +1000 |
commit | 1c6e5aac2c376ea65a288970ac2996183d2e306e (patch) | |
tree | e7a52ef90eafee2cf1fb0506dbc3ef22cf4b8a18 | |
parent | 5b827f17decd9222bdf35b26bca6445b5d6364a5 (diff) | |
parent | efeff9708d4a7399762fbf08ff5cabdf794e7fb3 (diff) |
Merge pull request #24352 from fuzzard/bp_depends_apple_fixsonomagettext
[BP][tools/depends][native] gettext force am_cv_func_iconv_works for apple host
-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) |