[uClibc-cvs] uClibc/libnsl Makefile,1.6,1.7

Manuel Novoa III mjn3 at uclibc.org
Fri Jan 16 18:52:54 UTC 2004


Update of /var/cvs/uClibc/libnsl
In directory nail:/tmp/cvs-serv23414/libnsl

Modified Files:
	Makefile 
Log Message:
We need to link with libgcc.a when creating shared libs, in order to
avoid problems 'hidden symbol' problems.   Also handle -lfloat for the
soft-float arm case.


Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libnsl/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Makefile	4 Nov 2003 08:53:36 -0000	1.6
+++ Makefile	16 Jan 2004 18:52:52 -0000	1.7
@@ -46,7 +46,7 @@
 	$(LD) $(LDFLAGS) -soname=$(LIBNSL_SHARED).$(MAJOR_VERSION) \
 		-o $(LIBNSL_SHARED_FULLNAME) --whole-archive $(LIBNSL) \
 		--no-whole-archive $(TOPDIR)libc/misc/internals/interp.o \
-		-L$(TOPDIR)lib -lc;
+		-L$(TOPDIR)lib -lc $(LDADD_LIBFLOAT) $(LIBGCC);
 	$(INSTALL) -d $(TOPDIR)lib
 	$(RM) $(TOPDIR)lib/$(LIBNSL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBNSL_SHARED).$(MAJOR_VERSION)
 	$(INSTALL) -m 644 $(LIBNSL_SHARED_FULLNAME) $(TOPDIR)lib




More information about the uClibc-cvs mailing list