aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2025-09-18 15:34:23 +0100
committerPádraig Brady <P@draigBrady.com>2025-09-18 17:13:02 +0100
commitc2e1816a53345ff9d5b89fc1fa566e87d0ee1b7e (patch)
tree97883e391840400662c1df9a2220b11a6fa1900c /src
parentbuild: update gnulib for stringeq adjustment (diff)
downloadcoreutils-c2e1816a53345ff9d5b89fc1fa566e87d0ee1b7e.tar.gz
coreutils-c2e1816a53345ff9d5b89fc1fa566e87d0ee1b7e.zip
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().
Diffstat (limited to 'src')
-rw-r--r--src/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local.mk b/src/local.mk
index a2985140f..8f6d9a5d7 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.