From d8c8b456f45c773d0adac99f2997cbb0cab4c911 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Fri, 16 Jan 2004 18:52:54 +0000 Subject: 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. --- libresolv/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libresolv/Makefile') diff --git a/libresolv/Makefile b/libresolv/Makefile index 180b632fa..d575363c0 100644 --- a/libresolv/Makefile +++ b/libresolv/Makefile @@ -52,7 +52,7 @@ shared: all $(LD) $(LDFLAGS) -soname=$(LIBRESOLV_SHARED).$(MAJOR_VERSION) \ -o $(LIBRESOLV_SHARED_FULLNAME) --whole-archive $(LIBRESOLV) \ --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/$(LIBRESOLV_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBRESOLV_SHARED).$(MAJOR_VERSION) $(INSTALL) -m 644 $(LIBRESOLV_SHARED_FULLNAME) $(TOPDIR)lib -- cgit v1.2.3