]> git.openpandora.org Git - openembedded.git/commitdiff
classes/autotools.bbclass: Use bruteforce and set installed=yes to =no
authorHolger Freyther <zecke@selfish.org>
Thu, 27 Dec 2007 13:37:33 +0000 (13:37 +0000)
committerHolger Freyther <zecke@selfish.org>
Thu, 27 Dec 2007 13:37:33 +0000 (13:37 +0000)
    This is silenting issues with various libtool files that have installed=yes.

classes/autotools.bbclass

index 8e4fba9400046a26f20b612eaf7b7f4909b7b1d9..991e472b14f676bf849bb2cf5eec870ff4c89239 100644 (file)
@@ -174,6 +174,8 @@ autotools_stage_all() {
        fi
        if [ -d ${STAGE_TEMP}/${libdir} ]
        then
+               find ${STAGE_TEMP}/${libdir} -name '*.la' -exec sed -i s,installed=yes,installed=no, {} \;
+
                for i in ${STAGE_TEMP}/${libdir}/*.la
                do
                        if [ ! -f "$i" ]; then