summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2012-01-27 17:50:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-01 15:15:15 +0000
commit8d4d9a15c4947e55ed217c6035e76fcff724e544 (patch)
tree9ecb7b04abf904d62336c02631d968c484d205f2 /meta/classes
parent8ac227e4ac77abd2b130ec79239c2b236e06b57f (diff)
downloadpoky-8d4d9a15c4947e55ed217c6035e76fcff724e544.tar.gz
package bbclass: allow per package PRIVATE_LIBS
If a recipe packages multiple versions of shlib (e.g. powervr drivers) we only want the shlib code to pickup $PN, not $PN-foo subpackages. This keeps backward compatibility with the global PRIVATE_LIBS usage if no per package PRIVATE_LIBS are set for a given package. In other words: this doesn't break the firefox recipe. (From OE-Core rev: ce46dbddef40ae3eef7238ac07438b15bd09e156) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 68a2539c6f..348c13ce5e 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1326,8 +1326,8 @@ python package_do_shlibs() {
1326 1326
1327 needed = {} 1327 needed = {}
1328 shlib_provider = {} 1328 shlib_provider = {}
1329 private_libs = d.getVar('PRIVATE_LIBS', True)
1330 for pkg in packages.split(): 1329 for pkg in packages.split():
1330 private_libs = d.getVar('PRIVATE_LIBS_' + pkg, True) or d.getVar('PRIVATE_LIBS', True)
1331 needs_ldconfig = False 1331 needs_ldconfig = False
1332 bb.debug(2, "calculating shlib provides for %s" % pkg) 1332 bb.debug(2, "calculating shlib provides for %s" % pkg)
1333 1333