summaryrefslogtreecommitdiff
path: root/classes/efl.bbclass
diff options
context:
space:
mode:
authorSergey Lapin <slapin@ossfans.org>2010-01-22 00:50:27 +0300
committerSergey Lapin <slapin@ossfans.org>2010-01-22 00:50:27 +0300
commit029e21c8111deafa850ad1724e48da29c321f2f8 (patch)
tree00c9ad7db155d3f3fe471517d5d882b517f9ccfd /classes/efl.bbclass
parent8e099432e6b3687bc97f756aa7176b02cb1c7693 (diff)
parentb6f9a84fd99c89ac074aaed90cdd3d064c534492 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'classes/efl.bbclass')
-rw-r--r--classes/efl.bbclass11
1 files changed, 7 insertions, 4 deletions
diff --git a/classes/efl.bbclass b/classes/efl.bbclass
index d4c3baa9cf..900d9c7f0d 100644
--- a/classes/efl.bbclass
+++ b/classes/efl.bbclass
@@ -11,16 +11,19 @@ PE = "2"
ARM_INSTRUCTION_SET = "arm"
-AUTOTOOLS_STAGE_PKGCONFIG = "1"
-# do NOT inherit pkgconfig here, see note in autotools_stage_all
inherit autotools
+# evas-native looks at this var, so keep it
+AUTOTOOLS_STAGE_PKGCONFIG = "1"
+
do_configure_prepend() {
touch config.rpath
}
-do_stage() {
- autotools_stage_all
+do_install_prepend () {
+ for i in `find ${S}/ -name "*.pc" -type f` ; do \
+ sed -i -e 's:-L${STAGING_LIBDIR}::g' -e 's:-I${STAGING_INCDIR}::g' $i
+ done
}
# This construction is stupid, someone with more E knowledge should change it to =+ or something