diff options
author | Alexandru Moise <alexandru.moise@windriver.com> | 2016-04-05 10:33:33 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-06 22:57:26 +0100 |
commit | 634aeed0c215febc016783306b9cebbe02992a90 (patch) | |
tree | 2df76389720d805ac1bb20268fb457b9b5b395f3 /meta/recipes-devtools | |
parent | 298d875fac41d58bb14d208e5aebd0426208685b (diff) | |
download | poky-634aeed0c215febc016783306b9cebbe02992a90.tar.gz |
libtool: fix contaminated path to lt_truncate_bin
lt_truncate_bin path is contaminated by the path from the sysroot
directory for the build host.
Steps to reproduce this issue:
$ bitbake -c cleanall libtool
$ bitbake coreutils-native
$ bitbake libtool
$ grep -in "lt_truncate_bin=" tmp/work/*/libtool/*/image/usr/bin/libtool
(From OE-Core rev: 5e83a72f1ec834063d27b924bc7f9a047204cec6)
Signed-off-by: Alexandru Moise <alexandru.moise@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/libtool/libtool_2.4.6.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/libtool_2.4.6.bb b/meta/recipes-devtools/libtool/libtool_2.4.6.bb index 45f1b2f3a9..3851ec7f83 100644 --- a/meta/recipes-devtools/libtool/libtool_2.4.6.bb +++ b/meta/recipes-devtools/libtool/libtool_2.4.6.bb | |||
@@ -10,6 +10,7 @@ SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess" | |||
10 | do_install_append () { | 10 | do_install_append () { |
11 | sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \ | 11 | sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \ |
12 | -e 's@${STAGING_DIR_HOST}@@g' \ | 12 | -e 's@${STAGING_DIR_HOST}@@g' \ |
13 | -e 's@${STAGING_DIR_NATIVE}@@g' \ | ||
13 | -e 's@^\(sys_lib_search_path_spec="\).*@\1${libdir} ${base_libdir}"@' \ | 14 | -e 's@^\(sys_lib_search_path_spec="\).*@\1${libdir} ${base_libdir}"@' \ |
14 | -e 's@^\(compiler_lib_search_dirs="\).*@\1${libdir} ${base_libdir}"@' \ | 15 | -e 's@^\(compiler_lib_search_dirs="\).*@\1${libdir} ${base_libdir}"@' \ |
15 | -e 's@^\(compiler_lib_search_path="\).*@\1${libdir} ${base_libdir}"@' \ | 16 | -e 's@^\(compiler_lib_search_path="\).*@\1${libdir} ${base_libdir}"@' \ |