summaryrefslogtreecommitdiff
path: root/classes/package.bbclass
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2007-12-16 14:21:22 +0000
committerDaniel Willmann <daniel@totalueberwachung.de>2007-12-16 14:21:22 +0000
commit958223597d9f9c2fd09fcb8befc68f129ce5c2d8 (patch)
tree24c05b8f0605759347ef4a5dce642489ea6fdf33 /classes/package.bbclass
parentfe379ffc9b1b75ba62a68f5bc21b854e5da49259 (diff)
parentae6f2adfc12c8ec00cf1cd644f87c8c4ca107e5a (diff)
merge of '838eb6a07e13b6913dd7a7eebee5e18544c4e6ae'
and 'c4c17ca83d23bc51028aa72cd2f94ead9497b597'
Diffstat (limited to 'classes/package.bbclass')
-rw-r--r--classes/package.bbclass10
1 files changed, 10 insertions, 0 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 67aeb33a13..37b9d83d97 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -694,6 +694,16 @@ python package_do_shlibs() {
for l in lines:
shlib_provider[l.rstrip()] = (dep_pkg, lib_ver)
+ assumed_libs = bb.data.getVar('ASSUME_SHLIBS', d, 1)
+ if assumed_libs:
+ for e in assumed_libs.split():
+ l, dep_pkg = e.split(":")
+ lib_ver = None
+ dep_pkg = dep_pkg.rsplit("_", 1)
+ if len(dep_pkg) == 2:
+ lib_ver = dep_pkg[1]
+ dep_pkg = dep_pkg[0]
+ shlib_provider[l] = (dep_pkg, lib_ver)
for pkg in packages.split():
bb.debug(2, "calculating shlib requirements for %s" % pkg)