[oe-commits] Koen Kooi : pkgconfig bbclass: also sed out bogus includes
git version control
git at git.openembedded.org
Wed Nov 25 12:12:45 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2c8134baa56ad047f5c37069379c0e560dd6477e
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2c8134baa56ad047f5c37069379c0e560dd6477e
Author: Koen Kooi <koen at openembedded.org>
Date: Wed Nov 25 13:11:43 2009 +0100
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
---
classes/pkgconfig.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/classes/pkgconfig.bbclass b/classes/pkgconfig.bbclass
index 5844461..f3d9371 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
}
More information about the Openembedded-commits
mailing list