summaryrefslogtreecommitdiff
path: root/meta/packages/libtool/libtool_2.2.6.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-06-01 14:49:54 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-06-02 11:57:49 +0100
commit648290d5bf4d6ff50d3643bb7ad902dfc23aa702 (patch)
treebd01a20f919c3ea0d924a4ba5334fba2cc7d4534 /meta/packages/libtool/libtool_2.2.6.bb
parent420b1d848842cdf687b14e95f2c7f737d2745033 (diff)
downloadopenembedded-core-648290d5bf4d6ff50d3643bb7ad902dfc23aa702.tar.gz
openembedded-core-648290d5bf4d6ff50d3643bb7ad902dfc23aa702.tar.bz2
openembedded-core-648290d5bf4d6ff50d3643bb7ad902dfc23aa702.tar.xz
openembedded-core-648290d5bf4d6ff50d3643bb7ad902dfc23aa702.zip
libtool: Make sure ltmain.sh is always regenerated. We can't just remove it since it has to be present to run configure
Diffstat (limited to 'meta/packages/libtool/libtool_2.2.6.bb')
-rw-r--r--meta/packages/libtool/libtool_2.2.6.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/packages/libtool/libtool_2.2.6.bb b/meta/packages/libtool/libtool_2.2.6.bb
index 00e5cf8e2..e5deac7c4 100644
--- a/meta/packages/libtool/libtool_2.2.6.bb
+++ b/meta/packages/libtool/libtool_2.2.6.bb
@@ -1,6 +1,6 @@
require libtool.inc
-PR = "r20"
+PR = "r21"
SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}a.tar.gz \
file://trailingslash.patch;patch=1 \
@@ -16,6 +16,12 @@ inherit autotools
EXTRA_AUTORECONF = "--exclude=libtoolize"
+do_compile_prepend () {
+ # Sometimes this file doesn't get rebuilt, force the issue
+ rm -f ${S}/libltdl/config/ltmain.sh
+ make libltdl/config/ltmain.sh
+}
+
#
# We want the results of libtool-cross preserved - don't stage anything ourselves.
#