]> code.ossystems Code Review - openembedded-core.git/commitdiff
glib-2.0: Remove python3 modules when building for mingw
authorAlistair Francis <alistair.francis@xilinx.com>
Wed, 3 Jan 2018 19:51:18 +0000 (11:51 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Jan 2018 11:54:57 +0000 (11:54 +0000)
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@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glib-2.0/glib.inc

index fbc655a012208d61f3dfd74e9d6e8187d21a0e96..cfeb48a5368deb258b8a567dc3a813667558b042 100644 (file)
@@ -115,11 +115,10 @@ do_install_append_class-target () {
        fi
 }
 
-RDEPENDS_${PN}-codegen += "\
-            python3 \
-            python3-distutils \
-            python3-xml \
-           "
+CODEGEN_PYTHON_RDEPENDS = "python3 python3-distutils python3-xml"
+CODEGEN_PYTHON_RDEPENDS_mingw32 = ""
+
+RDEPENDS_${PN}-codegen += "${CODEGEN_PYTHON_RDEPENDS}"
 
 RDEPENDS_${PN}-ptest += "\
             dbus \