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 8e4fba9..991e472 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