diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-30 12:08:39 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-30 12:08:39 +0000 |
commit | 15b539544443a7814cfc3a50e9c25015b462f236 (patch) | |
tree | 281c4f05a3969a2dc49a41ff71aa4e3a3d68e7e6 /meta/packages/libtool/libtool_2.2.6.bb | |
parent | 35433abab3365cef5182684811e221c46ea9a31e (diff) | |
download | poky-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.bb | 12 |
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 @@ | |||
1 | require libtool.inc | 1 | require libtool.inc |
2 | 2 | ||
3 | PR = "r16" | 3 | PR = "r17" |
4 | 4 | ||
5 | SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}a.tar.gz \ | 5 | SRC_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 | ||
16 | EXTRA_AUTORECONF = "--exclude=libtoolize" | 16 | EXTRA_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 | # |
23 | SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess" | 21 | SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess" |
24 | 22 | ||
25 | libtool_sysroot_preprocess () { | 23 | libtool_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 | } |