diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-07-03 06:17:34 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-07-03 06:17:34 +0000 |
commit | 094983cd14c21fe112a5ef09bbd347b938349e86 (patch) | |
tree | 806c84f42a79267b7d9a251a0c35bb76b45c8dc2 | |
parent | b8308706e4b5035d6fd643e9f90d193ff3d91789 (diff) |
Force our child libs to link vs libc
-rw-r--r-- | ldso/libdl/Makefile | 2 | ||||
-rw-r--r-- | libcrypt/Makefile | 2 | ||||
-rw-r--r-- | libm/Makefile | 2 | ||||
-rw-r--r-- | libresolv/Makefile | 2 | ||||
-rw-r--r-- | libutil/Makefile | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/ldso/libdl/Makefile b/ldso/libdl/Makefile index 840fad764..015e6b786 100644 --- a/ldso/libdl/Makefile +++ b/ldso/libdl/Makefile @@ -51,7 +51,7 @@ $(OBJ): Makefile shared: all $(TARGET_CC) $(TARGET_LDFLAGS) -nostdlib -shared -o $(LIBDL_SHARED_FULLNAME) \ - -Wl,-soname,$(LIBDL_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBDL) + -Wl,-soname,$(LIBDL_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBDL) -lc install -d $(TOPDIR)lib rm -f $(TOPDIR)lib/$(LIBDL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBDL_SHARED).$(MAJOR_VERSION) install -m 644 $(LIBDL_SHARED_FULLNAME) $(TOPDIR)lib; diff --git a/libcrypt/Makefile b/libcrypt/Makefile index 029f0d8e3..5a30ca988 100644 --- a/libcrypt/Makefile +++ b/libcrypt/Makefile @@ -48,7 +48,7 @@ $(OBJ): Makefile shared: all $(TARGET_CC) $(TARGET_LDFLAGS) -nostdlib -shared -o $(LIBCRYPT_SHARED_FULLNAME) \ - -Wl,-soname,$(LIBCRYPT_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBCRYPT) + -Wl,-soname,$(LIBCRYPT_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBCRYPT) -lc install -d $(TOPDIR)lib rm -f $(TOPDIR)lib/$(LIBCRYPT_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBCRYPT_SHARED).$(MAJOR_VERSION) install -m 644 $(LIBCRYPT_SHARED_FULLNAME) $(TOPDIR)lib; diff --git a/libm/Makefile b/libm/Makefile index c6ac49ce0..5813ee9e3 100644 --- a/libm/Makefile +++ b/libm/Makefile @@ -53,7 +53,7 @@ tags: shared: all if [ -f $(LIBM) ] ; then \ $(TARGET_CC) $(TARGET_LDFLAGS) -nostdlib -shared -o $(LIBM_SHARED_FULLNAME) \ - -Wl,-soname,$(LIBM_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBM); \ + -Wl,-soname,$(LIBM_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBM) -lc; \ install -d $(TOPDIR)lib; \ rm -f $(TOPDIR)lib/$(LIBM_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBM_SHARED).$(MAJOR_VERSION); \ install -m 644 $(LIBM_SHARED_FULLNAME) $(TOPDIR)lib; \ 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; diff --git a/libutil/Makefile b/libutil/Makefile index c1ac9022b..7210aaaa4 100644 --- a/libutil/Makefile +++ b/libutil/Makefile @@ -47,7 +47,7 @@ $(OBJS): %.o : %.c shared: all $(TARGET_CC) $(TARGET_LDFLAGS) -nostdlib -shared -o $(LIBUTIL_SHARED_FULLNAME) \ - -Wl,-soname,$(LIBUTIL_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBUTIL) + -Wl,-soname,$(LIBUTIL_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBUTIL) -lc install -d $(TOPDIR)lib rm -f $(TOPDIR)lib/$(LIBUTIL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBUTIL_SHARED).$(MAJOR_VERSION) install -m 644 $(LIBUTIL_SHARED_FULLNAME) $(TOPDIR)lib/; |