[PATCH 4/8] euidaccess-tests: link with test_euidaccess_LDADD

Paul Eggert <[email protected]>
Newsgroups gmane.comp.lib.gnulib.bugs
Message-ID <[email protected]>
* modules/euidaccess-tests (test_euidaccess_LDADD):
New macro.  Needed for Solaris 10.
---
 ChangeLog                | 4 ++++
 modules/euidaccess-tests | 1 +
 2 files changed, 5 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index f95316fada..4882598f43 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2026-06-16  Paul Eggert  <[email protected]>
 
+	euidaccess-tests: link with test_euidaccess_LDADD
+	* modules/euidaccess-tests (test_euidaccess_LDADD):
+	New macro.  Needed for Solaris 10.
+
 	faccessat: support "" and NULL file
 	* lib/faccessat.c (LSTAT_FOLLOWS_SLASHED_SYMLINK): Default to 0.
 	(rpl_faccessat): Don’t mishandle empty string, or null pointer for
diff --git a/modules/euidaccess-tests b/modules/euidaccess-tests
index d6a26a9bf1..f82b0c5d7b 100644
--- a/modules/euidaccess-tests
+++ b/modules/euidaccess-tests
@@ -16,3 +16,4 @@ AC_CHECK_FUNCS_ONCE([geteuid])
 Makefile.am:
 TESTS += test-euidaccess
 check_PROGRAMS += test-euidaccess
+test_euidaccess_LDADD = $(LDADD) $(EUIDACCESS_LIBGEN)
-- 
2.54.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.