From 54fd5bd31bba892a56bebeb3bd64797a76d80336 Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Wed, 16 Jan 2002 06:35:26 +0000
Subject: Tell ld explicitly when stuff is supposed to by dynamically linked 
 -Erik

---
 libresolv/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'libresolv')

diff --git a/libresolv/Makefile b/libresolv/Makefile
index 3a5a59e74..a19ab0f39 100644
--- a/libresolv/Makefile
+++ b/libresolv/Makefile
@@ -51,7 +51,7 @@ $(OBJ): Makefile
 shared: all
 	$(LD) $(LDFLAGS) -o $(LIBRESOLV_SHARED_FULLNAME) \
 	    -soname=$(LIBRESOLV_SHARED).$(MAJOR_VERSION) \
-	    --whole-archive $(LIBRESOLV) -L$(TOPDIR)/lib -lc;
+	    --whole-archive $(LIBRESOLV) -Bdynamic -L$(TOPDIR)/lib -lc;
 	install -d $(TOPDIR)lib
 	rm -f $(TOPDIR)lib/$(LIBRESOLV_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBRESOLV_SHARED).$(MAJOR_VERSION)
 	install -m 644 $(LIBRESOLV_SHARED_FULLNAME) $(TOPDIR)lib;
-- 
cgit v1.2.3