From: Koen Kooi Date: Wed, 25 Nov 2009 12:11:43 +0000 (+0100) Subject: pkgconfig bbclass: also sed out bogus includes X-Git-Tag: Release-2010-05/1~1626 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c8134baa56ad047f5c37069379c0e560dd6477e;p=openembedded.git pkgconfig bbclass: also sed out bogus includes RP says: In theory the recipes themselves should be patched to stop this nonesense getting in there in the first place but that is appropriate for pkgconfig.bbclass --- diff --git a/classes/pkgconfig.bbclass b/classes/pkgconfig.bbclass index 5844461fb4..f3d93716d7 100644 --- a/classes/pkgconfig.bbclass +++ b/classes/pkgconfig.bbclass @@ -3,7 +3,7 @@ DEPENDS_prepend = "pkgconfig-native " do_install_prepend () { for i in `find ${S}/ -name "*.pc" -type f` ; do \ - sed -i -e 's:-L${STAGING_LIBDIR}::g' $i + sed -i -e 's:-L${STAGING_LIBDIR}::g' -e 's:-I${STAGING_INCDIR}::g' $i done }