Merge branch 'rs/macos-iconv-workaround' into jch

Workaround that "iconv" shipped as part of macOS, which is broken
handling ISO-2022 encoded strings.

* rs/macos-iconv-workaround:
  config.mak.uname: use iconv from Homebrew on macOS
This commit is contained in:
Junio C Hamano
2025-12-12 22:11:26 +09:00

View File

@@ -182,6 +182,13 @@ ifeq ($(uname_S),Darwin)
endif
endif
ifeq ($(shell test -d /opt/homebrew/opt/libiconv/ && echo y),y)
ICONVDIR ?= /opt/homebrew/opt/libiconv
endif
ifeq ($(shell test -d /usr/local/opt/libiconv/ && echo y),y)
ICONVDIR ?= /usr/local/opt/libiconv
endif
BASIC_LDFLAGS += -framework CoreServices
endif
ifeq ($(uname_S),SunOS)