summaryrefslogtreecommitdiff
path: root/libresolv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libresolv/Makefile')
-rw-r--r--libresolv/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/libresolv/Makefile b/libresolv/Makefile
index a19ab0f39..1da125a62 100644
--- a/libresolv/Makefile
+++ b/libresolv/Makefile
@@ -49,9 +49,9 @@ $(OBJS): %.o : %.c
$(OBJ): Makefile
shared: all
- $(LD) $(LDFLAGS) -o $(LIBRESOLV_SHARED_FULLNAME) \
- -soname=$(LIBRESOLV_SHARED).$(MAJOR_VERSION) \
- --whole-archive $(LIBRESOLV) -Bdynamic -L$(TOPDIR)/lib -lc;
+ $(LD) $(LDFLAGS) -soname=$(LIBRESOLV_SHARED).$(MAJOR_VERSION) \
+ -o $(LIBRESOLV_SHARED_FULLNAME) --whole-archive $(LIBRESOLV) \
+ --no-whole-archive -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;