This is the mail archive of the libc-hacker@sources.redhat.com 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 (hjl@gnu.org)
--
2000-08-27  H.J. Lu  <hjl@gnu.org>

	* 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 1.1.1.9
diff -u -p -r1.1.1.9 Makefile
--- posix/Makefile	2000/08/24 18:49:26	1.1.1.9
+++ 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)
+endif
+
 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]