summaryrefslogtreecommitdiff
path: root/meta/classes/relocatable.bbclass
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-03-26 14:24:58 +0000
committerJoshua Lock <josh@linux.intel.com>2010-03-26 14:24:58 +0000
commit93f357d6572d969c2332a1f5d5b445c91c1e1bd6 (patch)
tree6b4a85b90398a1417725b4321529428da1156421 /meta/classes/relocatable.bbclass
parent1ee88638a23662223b9d149f8108be3947f4154d (diff)
downloadopenembedded-core-93f357d6572d969c2332a1f5d5b445c91c1e1bd6.tar.gz
openembedded-core-93f357d6572d969c2332a1f5d5b445c91c1e1bd6.tar.bz2
openembedded-core-93f357d6572d969c2332a1f5d5b445c91c1e1bd6.zip
relocatable.bbclass: we need to process library files too
The .so files we ship also have a RPATH encoded so should be post-processed for a relocatable RPATH too. Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/classes/relocatable.bbclass')
-rw-r--r--meta/classes/relocatable.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/relocatable.bbclass b/meta/classes/relocatable.bbclass
index 64c2d4a62a..ca36e5b263 100644
--- a/meta/classes/relocatable.bbclass
+++ b/meta/classes/relocatable.bbclass
@@ -8,7 +8,7 @@ def rpath_replace (path, d):
cmd = bb.data.expand('${CHRPATH_BIN}', d)
- bindirs = bb.data.expand("${bindir} ${sbindir} ${base_sbindir} ${base_bindir} ${PREPROCESS_RELOCATE_DIRS}", d).split()
+ bindirs = bb.data.expand("${bindir} ${sbindir} ${base_sbindir} ${base_bindir} ${libdir} ${base_libdir} ${PREPROCESS_RELOCATE_DIRS}", d).split()
tmpdir = bb.data.getVar('TMPDIR', d)
basedir = bb.data.expand('${base_prefix}', d)