aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2009-04-15 16:12:23 +0400
committerRoman I Khimov <khimov@altell.ru>2009-08-18 23:24:04 +0400
commit86d2f4efbe7e75dcc5082a38a373aaf1c17df07f (patch)
tree8e417f3cf8ebca3fe3804e5d2afa77b05899f034
parentda27ad8772d21440454a30fc1d11fd403263e3f8 (diff)
downloadopenembedded-86d2f4efbe7e75dcc5082a38a373aaf1c17df07f.tar.gz
package.bbclass: add multilib libdir to search path
-rw-r--r--classes/package.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index f6bd7c5b4a..ccaa00ea8a 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -568,7 +568,11 @@ python package_do_shlibs() {
return
lib_re = re.compile("^lib.*\.so")
- libdir_re = re.compile(".*/lib$")
+ multilibdir = bb.data.getVar('LIB_MULTILIB', d, 1)
+ if not multilibdir:
+ libdir_re = re.compile(".*/lib$")
+ else:
+ libdir_re = re.compile(".*/(lib|%s)$" % (multilibdir))
packages = bb.data.getVar('PACKAGES', d, 1)