diff options
author | Alistair Francis <alistair.francis@xilinx.com> | 2018-01-03 11:51:18 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-05 11:55:35 +0000 |
commit | 5c7f48c9c03f73c0379302206880cc3e7443ec67 (patch) | |
tree | 9fb8a7a9a68c4b1b33466a329d23f5e1978c63ed /meta/recipes-core/glib-2.0 | |
parent | 2cad9ff9d181b3be5e89b6e9e23385181840d159 (diff) | |
download | poky-5c7f48c9c03f73c0379302206880cc3e7443ec67.tar.gz |
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.
(From OE-Core rev: 22495951d4caaaf1ead219be8cfad3311cebebff)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 9 |
1 files 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 fbc655a012..cfeb48a536 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 () { | |||
115 | fi | 115 | fi |
116 | } | 116 | } |
117 | 117 | ||
118 | RDEPENDS_${PN}-codegen += "\ | 118 | CODEGEN_PYTHON_RDEPENDS = "python3 python3-distutils python3-xml" |
119 | python3 \ | 119 | CODEGEN_PYTHON_RDEPENDS_mingw32 = "" |
120 | python3-distutils \ | 120 | |
121 | python3-xml \ | 121 | RDEPENDS_${PN}-codegen += "${CODEGEN_PYTHON_RDEPENDS}" |
122 | " | ||
123 | 122 | ||
124 | RDEPENDS_${PN}-ptest += "\ | 123 | RDEPENDS_${PN}-ptest += "\ |
125 | dbus \ | 124 | dbus \ |