summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/host-autotools-libtool.in1
-rw-r--r--rules/host-autotools-libtool.make10
2 files changed, 11 insertions, 0 deletions
diff --git a/rules/host-autotools-libtool.in b/rules/host-autotools-libtool.in
index 4fd96e71a..1a16eed63 100644
--- a/rules/host-autotools-libtool.in
+++ b/rules/host-autotools-libtool.in
@@ -3,4 +3,5 @@
config HOST_AUTOTOOLS_LIBTOOL
bool
select HOST_AUTOTOOLS_AUTOMAKE
+ select HOST_AUTOTOOLS_AUTOCONF
default y
diff --git a/rules/host-autotools-libtool.make b/rules/host-autotools-libtool.make
index 2081eae40..23ac42bcc 100644
--- a/rules/host-autotools-libtool.make
+++ b/rules/host-autotools-libtool.make
@@ -29,6 +29,16 @@ HOST_AUTOTOOLS_LIBTOOL_LICENSE := GPL-2.0-or-later
$(STATEDIR)/autogen-tools: $(STATEDIR)/host-autotools-libtool.install.post
# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-autotools-libtool.extract.post:
+ @$(call targetinfo)
+ @cd $(HOST_AUTOTOOLS_LIBTOOL_DIR) && aclocal && autoreconf --force && autoheader
+ @$(call world/patchin/post, HOST_AUTOTOOLS_LIBTOOL)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------