summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)