This is the mail archive of the mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

A patch for static nss

My last static nss patch is wrong. This one seems ok.

H.J. Lu (
2000-08-27  H.J. Lu  <>

	* posix/Makefile (otherlibs): Add for building with static-nss
	for "make check".

Index: posix/Makefile
RCS file: /work/cvs/gnu/glibc/posix/Makefile,v
retrieving revision
diff -u -p -r1.1.1.9 Makefile
--- posix/Makefile	2000/08/24 18:49:26
+++ posix/Makefile	2000/08/27 23:18:20
@@ -85,6 +85,14 @@ generated := $(addprefix wordexp-test-re
 include ../Rules
+ifeq (yes,$(build-static-nss))
+# We need it for "make check" only. We can skip them if they haven't
+# been built yet during "make".
+otherlibs += $(wildcard $(nssobjdir)/libnss_files.a \
+			$(resolvobjdir)/libnss_dns.a \
+			$(resolvobjdir)/libresolv.a)
 ifeq (no,$(cross-compiling))
 # globtest and wordexp-test currently only works with shared libraries
 ifeq (yes,$(build-shared))

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]