Re: [PATCH] config.mak.uname: use iconv from Homebrew on macOS
- From
- Yee Cheng Chin <ychin.macvim@gmail.com>
- Date
- Dec 9, 2025, 20:39 UTC
- Message-ID
- <CAHTeOx-LFJVtNXrY-RfVUcAA_SjvK2310_xQ3skUEgKKQ6w57Q@mail.gmail.com>
- In-Reply-To
- <16efc726-34be-44f5-aa92-4e82b663ab3d@web.de>
> + ifeq ($(shell test -d /usr/local/opt/libiconv/ && echo y),y) > + ICONVDIR ?= /usr/local/opt/libiconv > + endif
One thing to keep in mind is that x86-64 Homebrew (which is the one that uses the /usr/local/ location) can be installed via Rosetta 2 on Apple Silicon Macs for testing (I use it myself). In that case you wouldn't really want to use the /usr/local/opt/libiconv location. It would be a somewhat niche case (the user has to be using Apple Silicon Mac, and somehow has Rosetta Homebrew libiconv installed but not native Homebrew libiconv), but could happen.