]> code.ossystems Code Review - openembedded-core.git/commitdiff
package.bbclass: Use expanded RDEPENDS in read_shlibdeps
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Jan 2013 14:12:23 +0000 (14:12 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Feb 2013 15:51:29 +0000 (15:51 +0000)
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)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass

index 5f6cf802c2b889dd374f54fd12bb1354e395821e..fec3db6b379c3e54ea4407324ad035c0ef37c88b 100644 (file)
@@ -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: