summaryrefslogtreecommitdiff
path: root/libintl
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-01-16 18:52:54 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-01-16 18:52:54 +0000
commitd8c8b456f45c773d0adac99f2997cbb0cab4c911 (patch)
treef4112b6f99e0b264701feba735e79a20bd6990c9 /libintl
parent338237994ac93ca58f6024ef0f7932ab770735d1 (diff)
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.
Diffstat (limited to 'libintl')
-rw-r--r--libintl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libintl/Makefile b/libintl/Makefile
index 8083897bd..d52409ed9 100644
--- a/libintl/Makefile
+++ b/libintl/Makefile
@@ -54,7 +54,7 @@ shared: all
$(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