summaryrefslogtreecommitdiff
path: root/libresolv
diff options
context:
space:
mode:
Diffstat (limited to 'libresolv')
-rw-r--r--libresolv/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libresolv/Makefile b/libresolv/Makefile
index 1da125a62..57c915f4e 100644
--- a/libresolv/Makefile
+++ b/libresolv/Makefile
@@ -51,7 +51,8 @@ $(OBJ): Makefile
shared: all
$(LD) $(LDFLAGS) -soname=$(LIBRESOLV_SHARED).$(MAJOR_VERSION) \
-o $(LIBRESOLV_SHARED_FULLNAME) --whole-archive $(LIBRESOLV) \
- --no-whole-archive -L$(TOPDIR)/lib -lc;
+ --no-whole-archive $(TOPDIR)/libc/misc/internals/interp.o \
+ -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;