Remove .la files from every qt module
authorMarkos Chandras <hwoarang@gentoo.org>
Sun, 11 Jul 2010 10:32:17 +0000 (10:32 +0000)
committerMarkos Chandras <hwoarang@gentoo.org>
Sun, 11 Jul 2010 10:32:17 +0000 (10:32 +0000)
eclass/qt4-build.eclass

index 3a02a67ec797f4ead75c4fcc964e923b4910d8b7..b5e097f5c648f16dc0c77f6c04aaf97ac2f346e3 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.77 2010/07/08 15:45:01 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.78 2010/07/11 10:32:17 hwoarang Exp $
 
 # @ECLASS: qt4-build.eclass
 # @MAINTAINER:
@@ -389,6 +389,8 @@ qt4-build_src_install() {
        install_qconfigs
        fix_library_files
        fix_includes
+       # remove .la files since we are building only shared Qt libraries
+       find "${D}"${QTLIBDIR} -name "*.la" -print0 | xargs -0 rm 
 }
 
 # @FUNCTION: setqtenv