[glibc] mach: Fix tst-default-domain link

Samuel Thibault via Glibc-cvs <[email protected]>
Newsgroups gmane.comp.lib.glibc.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0d6295e2034a2bbfa4a5f0f52d2fe8eed677c80b

commit 0d6295e2034a2bbfa4a5f0f52d2fe8eed677c80b
Author: Samuel Thibault <[email protected]>
Date:   Thu Apr 16 01:24:11 2026 +0200

    mach: Fix tst-default-domain link
    
    It links nisdomain.os directly, which uses __libc_lock_lock, thus
    __gsync_wait from libmachuser

Diff:
---
 sysdeps/mach/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sysdeps/mach/Makefile b/sysdeps/mach/Makefile
index 5607f66738..25d68f3fb7 100644
--- a/sysdeps/mach/Makefile
+++ b/sysdeps/mach/Makefile
@@ -63,6 +63,7 @@ else ifeq (nss,$(subdir))
   LDLIBS-tst-rfc3484 += $(objdir)/mach/libmachuser.so
   LDLIBS-tst-rfc3484-2 += $(objdir)/mach/libmachuser.so
   LDLIBS-tst-rfc3484-3 += $(objdir)/mach/libmachuser.so
+  LDLIBS-tst-default-domain += $(objdir)/mach/libmachuser.so
 else ifeq (hesiod,$(subdir))
   LDLIBS-nss_hesiod.so += $(objdir)/mach/libmachuser.so
 else ifeq (nscd,$(subdir))
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.