[oe-commits] [openembedded-core] 01/03: libtool: fix contaminated path to lt_truncate_bin

git at git.openembedded.org git at git.openembedded.org
Wed Apr 6 10:30:04 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 5e83a72f1ec834063d27b924bc7f9a047204cec6
Author: Alexandru Moise <alexandru.moise at windriver.com>
AuthorDate: Tue Apr 5 10:33:33 2016 +0300

    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
    
    Signed-off-by: Alexandru Moise <alexandru.moise at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/libtool/libtool_2.4.6.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/libtool/libtool_2.4.6.bb b/meta/recipes-devtools/libtool/libtool_2.4.6.bb
index 45f1b2f..3851ec7 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"
 do_install_append () {
         sed -e 's at --sysroot=${STAGING_DIR_HOST}@@g' \
             -e 's@${STAGING_DIR_HOST}@@g' \
+            -e 's@${STAGING_DIR_NATIVE}@@g' \
             -e 's@^\(sys_lib_search_path_spec="\).*@\1${libdir} ${base_libdir}"@' \
             -e 's@^\(compiler_lib_search_dirs="\).*@\1${libdir} ${base_libdir}"@' \
             -e 's@^\(compiler_lib_search_path="\).*@\1${libdir} ${base_libdir}"@' \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list