summaryrefslogtreecommitdiff
path: root/libresolv
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-12 04:26:55 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-12 04:26:55 +0000
commitc1009c8881176fbc15646fc229f5c773a0795b15 (patch)
treecd7302ef4e03d7a5f7b221db54c6b87288c757e9 /libresolv
parentebc043565b5980f3622eea0c90ef31aeac839a39 (diff)
Depend upon libc
Diffstat (limited to 'libresolv')
-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;