From: Eric Andersen Date: Wed, 12 Feb 2003 12:43:44 +0000 (-0000) Subject: Fixup ldconfig symlink X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9cb6fac8dffe3647e1ec7ff5a57f6a3985f29242;p=buildroot.git Fixup ldconfig symlink --- diff --git a/make/uclibc_toolchain.mk b/make/uclibc_toolchain.mk index 74e780260b..69e4637a6e 100644 --- a/make/uclibc_toolchain.mk +++ b/make/uclibc_toolchain.mk @@ -343,7 +343,7 @@ $(TARGET_DIR)/lib/libc.so.0: $(STAGING_DIR)/lib/libc.a $(TARGET_DIR)/usr/bin/ldd: $(TARGET_DIR)/lib/libc.so.0 $(MAKE) -C $(UCLIBC_DIR) PREFIX=$(TARGET_DIR) install_target_utils - (cd $(TARGET_DIR)/sbin; ln -s /bin/true ldconfig) + (cd $(TARGET_DIR)/sbin; ln -sf /bin/true ldconfig) UCLIBC_TARGETS=$(TARGET_DIR)/lib/libc.so.0 $(TARGET_DIR)/usr/bin/ldd endif diff --git a/make/uclibc_toolchain_2_95.mk b/make/uclibc_toolchain_2_95.mk index 0c08e097c4..a5170353c1 100644 --- a/make/uclibc_toolchain_2_95.mk +++ b/make/uclibc_toolchain_2_95.mk @@ -365,7 +365,7 @@ $(TARGET_DIR)/lib/libc.so.0: $(STAGING_DIR)/lib/libc.a $(TARGET_DIR)/usr/bin/ldd: $(TARGET_DIR)/lib/libc.so.0 $(MAKE) -C $(UCLIBC_DIR) PREFIX=$(TARGET_DIR) install_target_utils - (cd $(TARGET_DIR)/sbin; ln -s /bin/true ldconfig) + (cd $(TARGET_DIR)/sbin; ln -sf /bin/true ldconfig) UCLIBC_TARGETS=$(TARGET_DIR)/lib/libc.so.0 $(TARGET_DIR)/usr/bin/ldd endif