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>
This commit is contained in:
Joshua Lock 2010-03-26 14:24:58 +00:00
parent 1ee88638a2
commit 93f357d657
1 changed files with 1 additions and 1 deletions

View File

@ -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)