glib-2.0 needs to inherit pythonnative because it will run python
scripts to generate codes while do_compile.

This has caused problems on some hosts(SLED11.2) if no python-xml
installed.

[Yocto 2843]

Signed-off-by: Xin Ouyang <xin.ouy...@windriver.com>
---
 meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb 
b/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
index 10c0b61..5181f9d 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
@@ -1,8 +1,10 @@
 require glib.inc
 
-PR = "r6"
+PR = "r7"
 PE = "1"
 
+inherit pythonnative
+
 DEPENDS += "libffi python-argparse-native zlib"
 DEPENDS_virtclass-native += "libffi-native python-argparse-native"
 DEPENDS_virtclass-nativesdk += "nativesdk-libffi python-argparse-native 
nativesdk-zlib ${BPN}-native"
-- 
1.7.10.4


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to