summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libtool
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/libtool')
-rw-r--r--meta/recipes-devtools/libtool/libtool_2.4.6.bb13
1 files changed, 5 insertions, 8 deletions
diff --git a/meta/recipes-devtools/libtool/libtool_2.4.6.bb b/meta/recipes-devtools/libtool/libtool_2.4.6.bb
index 3851ec7f83..8858f6eef8 100644
--- a/meta/recipes-devtools/libtool/libtool_2.4.6.bb
+++ b/meta/recipes-devtools/libtool/libtool_2.4.6.bb
@@ -5,7 +5,11 @@ RDEPENDS_${PN} += "bash"
5# 5#
6# We want the results of libtool-cross preserved - don't stage anything ourselves. 6# We want the results of libtool-cross preserved - don't stage anything ourselves.
7# 7#
8SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess" 8SYSROOT_DIRS_BLACKLIST += " \
9 ${bindir} \
10 ${datadir}/aclocal \
11 ${datadir}/libtool/build-aux \
12"
9 13
10do_install_append () { 14do_install_append () {
11 sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \ 15 sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \
@@ -18,10 +22,3 @@ do_install_append () {
18 -e 's@^\(postdep_objects="\).*@\1"@' \ 22 -e 's@^\(postdep_objects="\).*@\1"@' \
19 -i ${D}${bindir}/libtool 23 -i ${D}${bindir}/libtool
20} 24}
21
22libtool_sysroot_preprocess () {
23 rm -rf ${SYSROOT_DESTDIR}${bindir}/*
24 rm -rf ${SYSROOT_DESTDIR}${datadir}/aclocal/*
25 rm -rf ${SYSROOT_DESTDIR}${datadir}/libtool/build-aux/*
26}
27