Fix for configure --enable-add-ons --enable-static-nss --disable-shared
Andreas Jaeger
aj@suse.de
Wed Apr 18 05:43:00 GMT 2001
Some files need to get linked against the "nss" libs to run the
testsuite.
Ok to commit?
Andreas
2001-04-18 Andreas Jaeger <aj@suse.de>
* rt/Makefile (otherlibs): Added.
linuxthreads:
2001-04-18 Andreas Jaeger <aj@suse.de>
* Makefile (otherlibs): Added.
Index: rt/Makefile
===================================================================
RCS file: /cvs/glibc/libc/rt/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- Makefile 2001/03/18 21:33:06 1.21
+++ Makefile 2001/04/18 12:41:56
@@ -64,3 +64,8 @@
ifeq (yes,$(build-bounded))
$(tests:%=$(objpfx)%-bp): $(objpfx)librt_b.a $(bounded-thread-library)
endif
+
+ifeq (yes,$(build-static-nss))
+otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
+ $(resolvobjdir)/libresolv.a
+endif
Index: linuxthreads/Makefile
===================================================================
RCS file: /cvs/glibc/libc/linuxthreads/Makefile,v
retrieving revision 1.41
diff -u -r1.41 Makefile
--- Makefile 2001/04/12 23:09:15 1.41
+++ Makefile 2001/04/18 12:41:56
@@ -120,3 +120,8 @@
generated += crti.S defs.h pt-initfini.s
endif
+
+ifeq (yes,$(build-static-nss))
+otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
+ $(resolvobjdir)/libresolv.a
+endif
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list