]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: remove explicit link to CoreFoundation libs on macOS
authorPádraig Brady <P@draigBrady.com>
Thu, 20 Nov 2025 10:43:06 +0000 (10:43 +0000)
committerPádraig Brady <P@draigBrady.com>
Thu, 20 Nov 2025 10:43:06 +0000 (10:43 +0000)
* src/local.mk: No longer explicitly depend on @INTL_MACOS_LIBS@
as they're no longer implicitly referenced (in LIBINTL) without gettext.
The old dependency was through localename-unsafe, specifically
date, du through show-date() (fprintftime), and
ls, pr, stat, uptime through strftime().
gnulib commit v1.0-2439-gff4b084a68 removed the localename-unsafe
dependency on macOS.

src/local.mk

index 87587934524d622e09d9b816ab6e168cc9dae6b9..5d2c379c56edcf8d63130b66c6e8b415a1890b41 100644 (file)
@@ -337,16 +337,6 @@ src_sort_LDADD += $(LIBPMULTITHREAD)
 # for pthread_sigmask
 src_sort_LDADD += $(PTHREAD_SIGMASK_LIB)
 
-if !USE_NLS
-# for CFPreferencesCopyAppValue
-src_date_LDADD += $(INTL_MACOSX_LIBS)
-src_du_LDADD += $(INTL_MACOSX_LIBS)
-src_ls_LDADD += $(INTL_MACOSX_LIBS)
-src_pr_LDADD += $(INTL_MACOSX_LIBS)
-src_stat_LDADD += $(INTL_MACOSX_LIBS)
-src_uptime_LDADD += $(INTL_MACOSX_LIBS)
-endif
-
 # Get the release year from lib/version-etc.c.
 RELEASE_YEAR = \
   `sed -n '/.*COPYRIGHT_YEAR = \([0-9][0-9][0-9][0-9]\) };/s//\1/p' \