Skip to content

Commit

Permalink
Merge pull request xbmc#23829 from fuzzard/depends_apple_fixsonomaget…
Browse files Browse the repository at this point in the history
…text

[tools/depends][native] gettext force am_cv_func_iconv_works for apple host
  • Loading branch information
fuzzard authored Sep 27, 2023
2 parents da55810 + d6ad143 commit d209845
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tools/depends/native/gettext/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d209845

Please sign in to comment.