summaryrefslogtreecommitdiffstats
path: root/meta/packages/libtool/libtool_2.2.6.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-30 12:08:39 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-30 12:08:39 +0000
commit15b539544443a7814cfc3a50e9c25015b462f236 (patch)
tree281c4f05a3969a2dc49a41ff71aa4e3a3d68e7e6 /meta/packages/libtool/libtool_2.2.6.bb
parent35433abab3365cef5182684811e221c46ea9a31e (diff)
downloadpoky-15b539544443a7814cfc3a50e9c25015b462f236.tar.gz
libtool: Only apply sysroot mangling to libtool itself (not native/cross/nativesdk)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/libtool/libtool_2.2.6.bb')
-rw-r--r--meta/packages/libtool/libtool_2.2.6.bb12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/packages/libtool/libtool_2.2.6.bb b/meta/packages/libtool/libtool_2.2.6.bb
index f3228c28fe..7f5f36ce19 100644
--- a/meta/packages/libtool/libtool_2.2.6.bb
+++ b/meta/packages/libtool/libtool_2.2.6.bb
@@ -1,6 +1,6 @@
1require libtool.inc 1require libtool.inc
2 2
3PR = "r16" 3PR = "r17"
4 4
5SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}a.tar.gz \ 5SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}a.tar.gz \
6 file://dolt.m4" 6 file://dolt.m4"
@@ -15,15 +15,15 @@ inherit autotools_stage
15 15
16EXTRA_AUTORECONF = "--exclude=libtoolize" 16EXTRA_AUTORECONF = "--exclude=libtoolize"
17 17
18
19
20# 18#
21# We want the results of libtool-cross preserved - don't stage anything ourselves. 19# We want the results of libtool-cross preserved - don't stage anything ourselves.
22# 20#
23SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess" 21SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess"
24 22
25libtool_sysroot_preprocess () { 23libtool_sysroot_preprocess () {
26 rm -rf ${SYSROOT_DESTDIR}/${bindir}/* 24 if [ "${PN}" == "libtool" ]; then
27 rm -rf ${SYSROOT_DESTDIR}/${datadir}/aclocal/* 25 rm -rf ${SYSROOT_DESTDIR}/${bindir}/*
28 rm -rf ${SYSROOT_DESTDIR}/${datadir}/libtool/config/* 26 rm -rf ${SYSROOT_DESTDIR}/${datadir}/aclocal/*
27 rm -rf ${SYSROOT_DESTDIR}/${datadir}/libtool/config/*
28 fi
29} 29}