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:45 +0000
commit913ed9a6b137e77a023a78273f633b15c7e9fd4f (patch)
tree253b2fb8f56150b25429b1910aeca12713279c71
parentccdaab972e1d03087f9de0eae605008eaada7cd1 (diff)
downloadpoky-913ed9a6b137e77a023a78273f633b15c7e9fd4f.tar.gz
poky-913ed9a6b137e77a023a78273f633b15c7e9fd4f.tar.bz2
poky-913ed9a6b137e77a023a78273f633b15c7e9fd4f.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. (From OE-Core rev: b70627e2818ded74be862ad8650e19bf1fe9bd43) 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 \
"