about summary refs log tree commit diff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorArjun Shankar <arjun@redhat.com>2023-10-31 10:44:32 +0100
committerArjun Shankar <arjun@redhat.com>2023-11-01 11:53:03 +0100
commit9db31d7456a68f7fc448b28dceced26db96f4d66 (patch)
tree5f64b9734d100f3b1ce79851665744740fb12025 /sysdeps/mach
parentbc888a3976700a3607f6ec4a36dbf3030161cb3e (diff)
downloadglibc-9db31d7456a68f7fc448b28dceced26db96f4d66.tar.gz
glibc-9db31d7456a68f7fc448b28dceced26db96f4d66.tar.xz
glibc-9db31d7456a68f7fc448b28dceced26db96f4d66.zip
Use correct subdir when building tst-rfc3484* for mach and arm
Commit 7f602256ab5b85db1dbfb5f40bd109c4b37b68c8 moved the tst-rfc3484*
tests from posix/ to nss/, but didn't correct references to point to
their new subdir when building for mach and arm.  This commit fixes
that.

Tested with build-many-glibcs.sh for i686-gnu.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/mach/Makefile b/sysdeps/mach/Makefile
index a9d4aa04ce..5194e6ccea 100644
--- a/sysdeps/mach/Makefile
+++ b/sysdeps/mach/Makefile
@@ -60,12 +60,11 @@ else ifeq (nss,$(subdir))
   LDLIBS-nss_files.so += $(objdir)/mach/libmachuser.so
   LDLIBS-nss_db.so += $(objdir)/mach/libmachuser.so
   LDLIBS-nss_compat.so += $(objdir)/mach/libmachuser.so
-else ifeq (hesiod,$(subdir))
-  LDLIBS-nss_hesiod.so += $(objdir)/mach/libmachuser.so
-else ifeq (posix,$(subdir))
   LDLIBS-tst-rfc3484 += $(objdir)/mach/libmachuser.so
   LDLIBS-tst-rfc3484-2 += $(objdir)/mach/libmachuser.so
   LDLIBS-tst-rfc3484-3 += $(objdir)/mach/libmachuser.so
+else ifeq (hesiod,$(subdir))
+  LDLIBS-nss_hesiod.so += $(objdir)/mach/libmachuser.so
 else ifeq (nscd,$(subdir))
   LDLIBS-nscd += $(objdir)/mach/libmachuser.so
 endif