[OE-core] [PATCH] glib-2.0: Remove python3 modules when building for mingw

Alistair Francis alistair.francis at xilinx.com
Tue Jan 2 22:49:35 UTC 2018


Commit "glib-2.0: Add python3 modules required by gdbus-codegen"
(26af3b4b33a34d7e53059b07236f9d5aae5e004a) broke the MinGW build of
QEMU. To fix the build remove the python3 RDEPENDS for gdbus-codegen
when targeting mingw.

Signed-off-by: Alistair Francis <alistair.francis at xilinx.com>
---
 meta/recipes-core/glib-2.0/glib.inc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index fbc655a012..f8e803a90a 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -121,6 +121,12 @@ RDEPENDS_${PN}-codegen += "\
             python3-xml \
            "
 
+RDEPENDS_${PN}-codegen_remove_mingw32 = "\
+            python3 \
+            python3-distutils \
+            python3-xml \
+           "
+
 RDEPENDS_${PN}-ptest += "\
             dbus \
             gnome-desktop-testing \
-- 
2.14.1




More information about the Openembedded-core mailing list