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/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/nis/Makefile b/nis/Makefile
index 78fdd072ec..74f07dc041 100644
--- a/nis/Makefile
+++ b/nis/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -75,7 +75,8 @@ $(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) $(objpfx)libnsl.so: $(common-objpfx)libc.so
+$(services:%=$(objpfx)libnss_%.so) $(objpfx)libnsl.so: $(common-objpfx)libc.so\
+					       $(common-objpfx)libc_nonshared.a
 
 
 ifeq ($(build-shared),yes)