aboutsummaryrefslogtreecommitdiff
path: root/package/file
diff options
context:
space:
mode:
authorGravatar "Steven J. Hill" <sjhill@realitydiluted.com>2007-01-16 00:33:24 +0000
committerGravatar "Steven J. Hill" <sjhill@realitydiluted.com>2007-01-16 00:33:24 +0000
commitfb5219f7dccd05a523321f842f216bd6b19c4fa6 (patch)
tree7ccf4100f16143aef8b113e9b233e77d39f620d8 /package/file
parenta72fadb38e3c1c258bca1656b5bc983ab1a180c6 (diff)
downloadbuildroot-fb5219f7dccd05a523321f842f216bd6b19c4fa6.tar.gz
buildroot-fb5219f7dccd05a523321f842f216bd6b19c4fa6.tar.bz2
Fix failed build due to addition of '--libdir=/lib' which changed the location of where libmagic.a and libmagic.la were located.
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 3837bcf998..3a499ac854 100644
--- a/package/file/file.mk
+++ b/package/file/file.mk
@@ -91,8 +91,8 @@ $(TARGET_DIR)/$(FILE_TARGET_BINARY): $(FILE_DIR2)/$(FILE_BINARY)
-($(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
- mv $(TARGET_DIR)/usr/lib/libmagic.a $(STAGING_DIR)/lib
- rm -f $(TARGET_DIR)/usr/lib/libmagic.la
+ mv $(TARGET_DIR)/lib/libmagic.a $(STAGING_DIR)/lib
+ rm -f $(TARGET_DIR)/lib/libmagic.la
mv $(TARGET_DIR)/usr/include/magic.h $(STAGING_DIR)/include
file: zlib uclibc $(TARGET_DIR)/$(FILE_TARGET_BINARY)