summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-30 12:20:44 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-30 12:20:44 +0000
commit6348b7079758f74174a45999f754b1668319609d (patch)
tree93337e31ebda80825586131deb1dca5fcfc5997f /meta
parent15b539544443a7814cfc3a50e9c25015b462f236 (diff)
downloadopenembedded-core-6348b7079758f74174a45999f754b1668319609d.tar.gz
openembedded-core-6348b7079758f74174a45999f754b1668319609d.tar.bz2
openembedded-core-6348b7079758f74174a45999f754b1668319609d.zip
libtool-cross: Don't allow bad staging files break libtooL
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/libtool/libtool-cross_2.2.6.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/packages/libtool/libtool-cross_2.2.6.bb b/meta/packages/libtool/libtool-cross_2.2.6.bb
index 2005e98339..7efbecc4f6 100644
--- a/meta/packages/libtool/libtool-cross_2.2.6.bb
+++ b/meta/packages/libtool/libtool-cross_2.2.6.bb
@@ -1,6 +1,6 @@
require libtool_${PV}.bb
-PR = "r26"
+PR = "r27"
PACKAGES = ""
SRC_URI_append = " file://cross_compile.patch;patch=1 \
file://prefix.patch;patch=1"
@@ -14,6 +14,13 @@ DOLT_PATCH_i586 = " file://add_dolt.patch;patch=1"
#SRC_URI_append_linux = "${DOLT_PATCH}"
#SRC_URI_append_linux-gnueabi = "${DOLT_PATCH}"
+do_configure_prepend () {
+ # Remove any existing libtool m4 since old stale versions would break
+ # any upgrade
+ rm -f ${STAGING_DATADIR}/aclocal/libtool.m4
+ rm -f ${STAGING_DATADIR}/aclocal/lt*.m4
+}
+
do_compile () {
:
}