summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-11-25 13:11:43 +0100
committerKoen Kooi <koen@openembedded.org>2009-11-25 13:11:43 +0100
commit2c8134baa56ad047f5c37069379c0e560dd6477e (patch)
tree3ecaf982807b1ad7222e9af056642e67f03d12fe /classes
parent84024549aa5ffd202ea1d63b73f2998142f8beaf (diff)
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
Diffstat (limited to 'classes')
-rw-r--r--classes/pkgconfig.bbclass2
1 files changed, 1 insertions, 1 deletions
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
}