* 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


Reply via email to