about summary refs log tree commit diff
path: root/nis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nis/Makefile')
-rw-r--r--nis/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/Makefile b/nis/Makefile
index a5a591e1b7..a6d14d0875 100644
--- a/nis/Makefile
+++ b/nis/Makefile
@@ -73,7 +73,7 @@ $(objpfx)libnss_nisplus.so: $(objpfx)libnsl.so$(libnsl.so-version)
 # Depend on libc.so so a DT_NEEDED is generated in the shared objects.
 # This ensures they will load libc.so for needed symbols if loaded by
 # a statically-linked program that hasn't already loaded it.
-$(services:%=$(objpfx)libnss_%.so): $(common-objpfx)libc.so
+$(services:%=$(objpfx)libnss_%.so) $(objpfx)libnsl.so: $(common-objpfx)libc.so
 
 
 ifeq ($(build-shared),yes)