[uClibc-cvs] uClibc/libintl Makefile,1.5,1.6
Manuel Novoa III
mjn3 at uclibc.org
Fri Jan 16 18:52:54 UTC 2004
Update of /var/cvs/uClibc/libintl
In directory nail:/tmp/cvs-serv23414/libintl
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/libintl/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile 4 Nov 2003 08:52:10 -0000 1.5
+++ Makefile 16 Jan 2004 18:52:51 -0000 1.6
@@ -54,7 +54,7 @@
$(LD) $(LDFLAGS) -soname=$(LIBINTL_SHARED).$(MAJOR_VERSION) \
-o $(LIBINTL_SHARED_FULLNAME) --whole-archive $(LIBINTL) \
--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/$(LIBINTL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBINTL_SHARED).$(MAJOR_VERSION)
$(INSTALL) -m 644 $(LIBINTL_SHARED_FULLNAME) $(TOPDIR)lib
More information about the uClibc-cvs
mailing list