summaryrefslogtreecommitdiff
path: root/libresolv/Makefile
diff options
context:
space:
mode:
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 920555c88..3a5a59e74 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);
+ --whole-archive $(LIBRESOLV) -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;