From fb5219f7dccd05a523321f842f216bd6b19c4fa6 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Tue, 16 Jan 2007 00:33:24 +0000 Subject: [PATCH] Fix failed build due to addition of '--libdir=/lib' which changed the location of where libmagic.a and libmagic.la were located. --- package/file/file.mk | 4 ++-- 1 file 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) -- 2.30.2