summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2020-11-20 14:49:14 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-24 10:27:38 +0000
commitb70627e2818ded74be862ad8650e19bf1fe9bd43 (patch)
treeda4214e1f6542b526c8024a7e9aa8b2ed2d6a085
parentdd83fb40f76749c6689807afabc63b9d5c2a4065 (diff)
downloadopenembedded-core-contrib-b70627e2818ded74be862ad8650e19bf1fe9bd43.tar.gz
openembedded-core-contrib-b70627e2818ded74be862ad8650e19bf1fe9bd43.tar.bz2
openembedded-core-contrib-b70627e2818ded74be862ad8650e19bf1fe9bd43.zip
glib-2.0: RDEPEND on dbusmock only when GI_DATA_ENABLED is True
python3-dbusmock depends on pygobject unconditionally and it's not going to work if g-i is disabled. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/glib-2.0/glib.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 06f4ae137e..71777bc459 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -166,7 +166,7 @@ RDEPENDS_${PN}-ptest += "\
${PN}-locale-th \
python3-core \
python3-modules \
- python3-dbusmock \
+ ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'python3-dbusmock', '', d)} \
${PN}-codegen \
"