[OE-core] [PATCH 1/1] glib-2.0: inherit pythonnative

Xin Ouyang Xin.Ouyang at windriver.com
Thu Nov 1 08:53:10 UTC 2012


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.Ouyang at 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





More information about the Openembedded-core mailing list