From: Yee Cheng Chin Date: Tue, 09 Dec 2025 20:39:48 GMT Subject: Re: [PATCH] config.mak.uname: use iconv from Homebrew on macOS Message-ID: 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.