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]

Fix for configure --enable-add-ons --enable-static-nss --disable-shared



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


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