summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-08-16 15:17:35 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-17 15:14:55 +0100
commit80041138ccba0247b6195886360677b8087acbd5 (patch)
treef0264ec986f1cb49f52e7a5851f7d6b272fc762e /meta
parent4219debe9ddbd0ea6d814d9d4c535c7e5b217b34 (diff)
downloadpoky-80041138ccba0247b6195886360677b8087acbd5.tar.gz
gtk-icon-cache: Adding MLPREFIX when dynamically set RDEPENDS
When dynamically setting RDEPENDS, we need to add MLPREFIX to adapt multilib case. [YOCTO #1368] (From OE-Core rev: 2ed808b764f023c074fa3aabef18b4f874cd82c7) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/gtk-icon-cache.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
index 3bfb8ff895..d0840d59b6 100644
--- a/meta/classes/gtk-icon-cache.bbclass
+++ b/meta/classes/gtk-icon-cache.bbclass
@@ -38,7 +38,7 @@ python populate_packages_append () {
38 38
39 bb.note("adding hicolor-icon-theme dependency to %s" % pkg) 39 bb.note("adding hicolor-icon-theme dependency to %s" % pkg)
40 rdepends = bb.data.getVar('RDEPENDS_%s' % pkg, d, 1) 40 rdepends = bb.data.getVar('RDEPENDS_%s' % pkg, d, 1)
41 rdepends += " hicolor-icon-theme" 41 rdepends = rdepends + ' ' + bb.data.getVar('MLPREFIX', d) + "hicolor-icon-theme"
42 bb.data.setVar('RDEPENDS_%s' % pkg, rdepends, d) 42 bb.data.setVar('RDEPENDS_%s' % pkg, rdepends, d)
43 43
44 bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg) 44 bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg)