From: Richard Purdie Date: Tue, 29 Jan 2013 14:12:23 +0000 (+0000) Subject: package.bbclass: Use expanded RDEPENDS in read_shlibdeps X-Git-Tag: rev_ivi_2015_02_04~13972 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9aecac909022819f16cb4aea370d76a6aaea32d;p=scm%2Fbb%2Ftizen-distro.git package.bbclass: Use expanded RDEPENDS in read_shlibdeps We may as well expand the RDEPENDS when reading and writing as this function does. if we don't do this, we could accidentally duplicate data and it also turns out to be much less efficient. (From OE-Core rev: d62a3151e7b252911c172a605b3089de355663c5) (From OE-Core rev: 8f602e84e6ae4e346acef7cf5473343039fa352a) Signed-off-by: Richard Purdie --- diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 5f6cf80..fec3db6 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -1680,7 +1680,7 @@ python read_shlibdeps () { packages = d.getVar('PACKAGES', True).split() for pkg in packages: - rdepends = bb.utils.explode_dep_versions2(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False) or "") + rdepends = bb.utils.explode_dep_versions2(d.getVar('RDEPENDS_' + pkg, True) or d.getVar('RDEPENDS', True) or "") for dep in pkglibdeps[pkg]: # Add the dep if it's not already there, or if no comparison is set if dep not in rdepends: