summaryrefslogtreecommitdiff
path: root/libresolv/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-16 06:35:26 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-16 06:35:26 +0000
commit54fd5bd31bba892a56bebeb3bd64797a76d80336 (patch)
tree5365e03bc66db6c1083b85efd276daf531b5ddc1 /libresolv/Makefile
parent92fa28346ab95b8f956365b1540a8458af286697 (diff)
Tell ld explicitly when stuff is supposed to by dynamically linked
-Erik
Diffstat (limited to 'libresolv/Makefile')
-rw-r--r--libresolv/Makefile2
1 files changed, 1 insertions, 1 deletions
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;