aboutsummaryrefslogtreecommitdiffstats
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:16:46 +0000
commit8c90c0081c38b33c99655f806cbe668600c170cc (patch)
tree748a124f385117d4db343b01a4fef71aac2ef8ba
parent4889704fed9ec205eb964b9e8ee7ff384e5c741d (diff)
downloadopenembedded-core-contrib-8c90c0081c38b33c99655f806cbe668600c170cc.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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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() {
for pkg in packages.split():
bb.debug(2, "calculating shlib requirements for %s" % pkg)
+ private_libs = d.getVar('PRIVATE_LIBS_' + pkg) or d.getVar('PRIVATE_LIBS') or ""
+ private_libs = private_libs.split()
+
deps = list()
for n in needed[pkg]:
# if n is in private libraries, don't try to search provider for it