diff options
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool_2.4.2.bb')
-rw-r--r-- | meta/recipes-devtools/libtool/libtool_2.4.2.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/libtool_2.4.2.bb b/meta/recipes-devtools/libtool/libtool_2.4.2.bb index d3f94284d4..60643129be 100644 --- a/meta/recipes-devtools/libtool/libtool_2.4.2.bb +++ b/meta/recipes-devtools/libtool/libtool_2.4.2.bb | |||
@@ -9,6 +9,17 @@ RDEPENDS_${PN} += "bash" | |||
9 | # | 9 | # |
10 | SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess" | 10 | SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess" |
11 | 11 | ||
12 | do_install_append () { | ||
13 | sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \ | ||
14 | -e 's@${STAGING_DIR_HOST}@@g' \ | ||
15 | -e 's@^\(sys_lib_search_path_spec="\).*@\1${libdir} ${base_libdir}"@' \ | ||
16 | -e 's@^\(compiler_lib_search_dirs="\).*@\1${libdir} ${base_libdir}"@' \ | ||
17 | -e 's@^\(compiler_lib_search_path="\).*@\1${libdir} ${base_libdir}"@' \ | ||
18 | -e 's@^\(predep_objects="\).*@\1"@' \ | ||
19 | -e 's@^\(postdep_objects="\).*@\1"@' \ | ||
20 | -i ${D}${bindir}/libtool | ||
21 | } | ||
22 | |||
12 | libtool_sysroot_preprocess () { | 23 | libtool_sysroot_preprocess () { |
13 | rm -rf ${SYSROOT_DESTDIR}${bindir}/* | 24 | rm -rf ${SYSROOT_DESTDIR}${bindir}/* |
14 | rm -rf ${SYSROOT_DESTDIR}${datadir}/aclocal/* | 25 | rm -rf ${SYSROOT_DESTDIR}${datadir}/aclocal/* |