]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: reduce explicit dependencies on macOS CoreFoundation
authorPádraig Brady <P@draigBrady.com>
Sat, 1 Nov 2025 14:30:12 +0000 (14:30 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 1 Nov 2025 15:07:15 +0000 (15:07 +0000)
* src/local.mk: Revert v9.7-322-gc2e1816a5, instead relying
on the more focused v9.8-79-g532cd66af.  When built with
--disable-nls on macOS this will result in only some commands
being linked with INTL_MACOSX_LIBS, thus resulting in env(1)
at least not setting a __CF_USER_TEXT_ENCODING envirnoment variable.

NEWS
src/local.mk

diff --git a/NEWS b/NEWS
index 53e5b387c2298378d962cd55e4ab526437d5e47b..2802c0c7b109c449cbe8ab3af502cc56d16086d3 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,10 @@ GNU coreutils NEWS                                    -*- outline -*-
   regressed due to the avoidance of copy offload, seen with OpenZFS at least.
   [bug introduced in coreutils-9.8]
 
+  `env` on macOS, for now only when built with --disable-nls,
+  will no longer always set a __CF_USER_TEXT_ENCODING environment variable.
+  [bug introduced in coreutils-9.8]
+
   'numfmt' no longer reads out-of-bounds memory with trailing blanks in input.
   [bug introduced with numfmt in coreutils-8.21]
 
index 14f4d0c13f449f31f2fc511057ea1338b7d0fb3d..a8ad6b43f8497d702f279d859af7c49e9df7aae3 100644 (file)
@@ -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) \
-  $(INTL_MACOSX_LIBS) lib/libcoreutils.a
+  lib/libcoreutils.a
 
 # First, list all programs, to make listing per-program libraries easier.
 # See [ below.