From: Pádraig Brady
Date: Thu, 18 Sep 2025 14:34:23 +0000 (+0100) Subject: build: fix link failure on macOS X-Git-Tag: v9.8~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c2e1816a53345ff9d5b89fc1fa566e87d0ee1b7e;p=thirdparty%2Fcoreutils.git build: fix link failure on macOS * src/local.mk: Explicitly depend on @INTL_MACOS_LIBS@ which may be not implicitly referenced (in LIBINTL) without gettext. This is a new transitive dependency through localename-unsafe. We add this globally to ease future maintenance as currently 6 commands require the localename-unsafe dependency: date, du through show-date() (fprintftime), and ls, pr, stat, uptime through strftime(). --- diff --git a/src/local.mk b/src/local.mk index a2985140f8..8f6d9a5d70 100644 --- a/src/local.mk +++ b/src/local.mk @@ -100,7 +100,7 @@ remove_ldadd = # replacement functions defined in libcoreutils.a. # Similarly for $(MBRTOWC_LIB). LDADD = src/libver.a lib/libcoreutils.a $(LIBINTL) $(MBRTOWC_LIB) \ - lib/libcoreutils.a + $(INTL_MACOSX_LIBS) lib/libcoreutils.a # First, list all programs, to make listing per-program libraries easier. # See [ below.