diff options
author | Kevin Tian <kevin.tian@intel.com> | 2010-08-10 08:05:52 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-13 13:36:02 +0100 |
commit | 44d7c5678f52593d55c23f16d0da6c188734b026 (patch) | |
tree | 7812836175a21eacdab8ce76f5fc5c84466bac2c /meta/classes | |
parent | 46771a85b0cd8edeab2b2bb2b79754fb797f24b2 (diff) | |
download | poky-44d7c5678f52593d55c23f16d0da6c188734b026.tar.gz |
staging.bbclass: mangle *.la for ${base_libdir} too
currently staging.bbclass mangle *.la to ensure sysroot prefix attached to
dependency_libs if other *.la is referenced, however it only happens on
${libdir}. libpam is special with its libraries under ${base_libdir}. So
this extends mangle to ${base_libdir} too
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/staging.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index 4f398652be..e66dc044af 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass | |||
@@ -35,6 +35,7 @@ sysroot_stage_libdir() { | |||
35 | sed -e 's/^installed=yes$/installed=no/' \ | 35 | sed -e 's/^installed=yes$/installed=no/' \ |
36 | -e '/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),${STAGING_LIBDIR}/\1,g' \ | 36 | -e '/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),${STAGING_LIBDIR}/\1,g' \ |
37 | -e "/^dependency_libs=/s,\([[:space:]']\)${libdir},\1${STAGING_LIBDIR},g" \ | 37 | -e "/^dependency_libs=/s,\([[:space:]']\)${libdir},\1${STAGING_LIBDIR},g" \ |
38 | -e "/^dependency_libs=/s,\([[:space:]']\)${base_libdir},\1${STAGING_DIR_HOST}${base_libdir},g" \ | ||
38 | -i $src/$i | 39 | -i $src/$i |
39 | done | 40 | done |
40 | sysroot_stage_dir $src $dest | 41 | sysroot_stage_dir $src $dest |