summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-02-28 23:06:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-01 22:18:46 +0000
commitbdb026db909050eedf4f039ee6ecaa45c1c7468a (patch)
treed3175bc498da57d754c8de1b3c821756fb3b5976 /meta/classes/package.bbclass
parent4bc71faf767539b9b6528bd37ef63d07d6f562c2 (diff)
downloadpoky-bdb026db909050eedf4f039ee6ecaa45c1c7468a.tar.gz
package.bbclass: fetch PRIVATE_LIBS twice as we iterate twice
The shlibs detection/handling iterates the package list twice, but PRIVATE_LIBS is only fetched in the first loop which means the second loop only considers the value set. (From OE-Core rev: 8c90c0081c38b33c99655f806cbe668600c170cc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index e7e93a067a..317c77585f 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1773,6 +1773,9 @@ python package_do_shlibs() {
1773 for pkg in packages.split(): 1773 for pkg in packages.split():
1774 bb.debug(2, "calculating shlib requirements for %s" % pkg) 1774 bb.debug(2, "calculating shlib requirements for %s" % pkg)
1775 1775
1776 private_libs = d.getVar('PRIVATE_LIBS_' + pkg) or d.getVar('PRIVATE_LIBS') or ""
1777 private_libs = private_libs.split()
1778
1776 deps = list() 1779 deps = list()
1777 for n in needed[pkg]: 1780 for n in needed[pkg]:
1778 # if n is in private libraries, don't try to search provider for it 1781 # if n is in private libraries, don't try to search provider for it