[oe-commits] [openembedded-core] 02/08: glib-2.0: Remove python3 modules when building for mingw

git at git.openembedded.org git at git.openembedded.org
Thu Jan 4 23:11:11 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 45b44da3b96686f6e821d91b04f72dbe47df2777
Author: Alistair Francis <alistair.francis at xilinx.com>
AuthorDate: Wed Jan 3 11:51:18 2018 -0800

    glib-2.0: Remove python3 modules when building for mingw
    
    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>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/glib-2.0/glib.inc | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index fbc655a..cfeb48a 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -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 \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list