summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-07-04 20:35:41 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-07-04 20:35:41 +0000
commite70976aa76b819fb436fdf6c8f6a62dd7393fb57 (patch)
treecc1f7261e2d672c7a0585b3933c4ddbd3c8d6e81
parent64316d383bca770be8bcf6f02f27c6c9883c9a8f (diff)
The build of 'file', needs to run 'file' natively, so provide a valid link
-rw-r--r--package/file/file.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/file/file.mk b/package/file/file.mk
index 9cacf5360..d3843a35e 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)