summaryrefslogtreecommitdiff
path: root/libresolv
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-03 06:17:34 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-03 06:17:34 +0000
commit094983cd14c21fe112a5ef09bbd347b938349e86 (patch)
tree806c84f42a79267b7d9a251a0c35bb76b45c8dc2 /libresolv
parentb8308706e4b5035d6fd643e9f90d193ff3d91789 (diff)
Force our child libs to link vs 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 219c31d77..731a3ccd8 100644
--- a/libresolv/Makefile
+++ b/libresolv/Makefile
@@ -48,7 +48,7 @@ $(OBJ): Makefile
shared: all
$(TARGET_CC) $(TARGET_LDFLAGS) -nostdlib -shared -o $(LIBRESOLV_SHARED_FULLNAME) \
- -Wl,-soname,$(LIBRESOLV_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBRESOLV)
+ -Wl,-soname,$(LIBRESOLV_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBRESOLV) -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;