From: Ulf Samuelsson Date: Fri, 4 Jul 2008 20:35:41 +0000 (-0000) Subject: The build of 'file', needs to run 'file' natively, so provide a valid link X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e70976aa76b819fb436fdf6c8f6a62dd7393fb57;p=buildroot.git The build of 'file', needs to run 'file' natively, so provide a valid link --- diff --git a/package/file/file.mk b/package/file/file.mk index 9cacf53601..d3843a35e1 100644 --- a/package/file/file.mk +++ b/package/file/file.mk @@ -85,6 +85,7 @@ $(FILE_DIR2)/.configured: $(FILE_SOURCE_DIR)/.unpacked touch $@ $(FILE_DIR2)/$(FILE_BINARY): $(FILE_DIR2)/.configured $(TOOL_BUILD_DIR)/bin/file + ln -sf $(FILE_DIR1)/install/bin/file $(FILE_DIR2)/magic/file $(MAKE) $(TARGET_CONFIGURE_OPTS) LDFLAGS="-static" -C $(FILE_DIR2) $(TARGET_DIR)/$(FILE_TARGET_BINARY): $(FILE_DIR2)/$(FILE_BINARY)