[Buildroot] svn commit: trunk/buildroot/package/file

sjhill at uclibc.org sjhill at uclibc.org
Tue Jan 16 00:33:25 UTC 2007


Author: sjhill
Date: 2007-01-15 16:33:24 -0800 (Mon, 15 Jan 2007)
New Revision: 17321

Log:
Fix failed build due to addition of '--libdir=/lib' which changed the location of where libmagic.a and libmagic.la were located.


Modified:
   trunk/buildroot/package/file/file.mk


Changeset:
Modified: trunk/buildroot/package/file/file.mk
===================================================================
--- trunk/buildroot/package/file/file.mk	2007-01-15 22:37:08 UTC (rev 17320)
+++ trunk/buildroot/package/file/file.mk	2007-01-16 00:33:24 UTC (rev 17321)
@@ -91,8 +91,8 @@
 	-($(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)




More information about the buildroot mailing list