From: "Steven J. Hill" Date: Sat, 23 Apr 2005 17:45:18 +0000 (-0000) Subject: Fix install error caused by 'ln -sf' which tries to use the target's X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b82915de4f091517376a828bf9f4e72038e5b12;p=buildroot.git Fix install error caused by 'ln -sf' which tries to use the target's 'ln' instead of the host. A quick grep through the other packages shows that this may be an issue as well. I will probably have more fixes later today. --- diff --git a/package/bash/bash.mk b/package/bash/bash.mk index d25b1558e8..dd14179779 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -59,7 +59,7 @@ $(TARGET_DIR)/$(BASH_TARGET_BINARY): $(BASH_DIR)/$(BASH_BINARY) $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BASH_DIR) install rm -f $(TARGET_DIR)/bin/bash* mv $(TARGET_DIR)/usr/bin/bash* $(TARGET_DIR)/bin/ - (cd $(TARGET_DIR)/bin; ln -fs bash sh) + (cd $(TARGET_DIR)/bin; /bin/ln -fs bash sh) rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \ $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc