]> code.ossystems Code Review - openembedded-core.git/commitdiff
glib-2.0: Add python3 modules required by gdbus-codegen
authorJef Driesen <jef.driesen@niko.eu>
Fri, 22 Dec 2017 09:30:19 +0000 (10:30 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Jan 2018 17:24:15 +0000 (17:24 +0000)
The gdbus-codegen tool depends on python3, python3-distutils and python3-xml at
runtime. But because these dependencies are not stated in the yocto recipe,
those python modules are not automatically included in the SDK.

Signed-off-by: Jef Driesen <jef.driesen@niko.eu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glib-2.0/glib.inc

index 42ab5f1562d3450b601a9e244e34092c8cf626f7..fbc655a012208d61f3dfd74e9d6e8187d21a0e96 100644 (file)
@@ -115,6 +115,12 @@ do_install_append_class-target () {
        fi
 }
 
+RDEPENDS_${PN}-codegen += "\
+            python3 \
+            python3-distutils \
+            python3-xml \
+           "
+
 RDEPENDS_${PN}-ptest += "\
             dbus \
             gnome-desktop-testing \