summaryrefslogtreecommitdiff
path: root/package/file
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-04-13 02:43:28 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-04-13 02:43:28 +0000
commit2eb9ee3e4fe2e00ce70af486818dfe9db306b87e (patch)
tree1925068db69d98ffd2e4eae2077905cdde6e59a5 /package/file
parent370057a206785851415f84f19fe706ac5a66aa75 (diff)
Need the target LDFLAGS for this to link using external toolchain.
Diffstat (limited to 'package/file')
-rw-r--r--package/file/file.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/file/file.mk b/package/file/file.mk
index 4f589d90d..48f43b5ad 100644
--- a/package/file/file.mk
+++ b/package/file/file.mk
@@ -86,10 +86,10 @@ $(FILE_DIR2)/.configured: $(FILE_SOURCE_DIR)/.unpacked
touch $(FILE_DIR2)/.configured
$(FILE_DIR2)/$(FILE_BINARY): $(FILE_DIR2)/.configured $(TOOL_BUILD_DIR)/bin/file
- $(MAKE) $(TARGET_CONFIGURE_OPTS) LDFLAGS="-static" -C $(FILE_DIR2)
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) LDFLAGS="$(TARGET_LDFLAGS) -static" -C $(FILE_DIR2)
$(TARGET_DIR)/$(FILE_TARGET_BINARY): $(FILE_DIR2)/$(FILE_BINARY)
- $(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) -C $(FILE_DIR2) install
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) LDFLAGS="$(TARGET_LDFLAGS)" DESTDIR=$(TARGET_DIR) -C $(FILE_DIR2) install
-($(STRIP) $(TARGET_DIR)/usr/lib/libmagic.so.*.* > /dev/null 2>&1)
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc