mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
Libtool made a release after many years. Update to it, allowing us to drop two backported patches. We also drop a performance optimistion patch since it is too invasive to maintain separately. (From OE-Core rev: b5d13cbdded0f71fd4b847066434d30e8a39c9ce) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From: Mingli Yu <mingli.yu@windriver.com>
|
|
Subject: [PATCH 09/12] Makefile.am: make sure autoheader run before autoconf
|
|
|
|
autoheader will update ../libtool-2.4.6/libltdl/config-h.in which
|
|
autoconf needs, so there comes a race sometimes as below:
|
|
| configure.ac:45: error: required file 'config-h.in' not found
|
|
| touch '../libtool-2.4.6/libltdl/config-h.in'
|
|
|
|
So make sure autoheader run before autoconf to avoid this race.
|
|
|
|
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00015.html]
|
|
|
|
diff --git a/Makefile.am b/Makefile.am
|
|
index 6b546092..84795d87 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -370,7 +370,7 @@ lt_configure_deps = $(lt_aclocal_m4) $(lt_aclocal_m4_deps)
|
|
$(lt_aclocal_m4): $(lt_aclocal_m4_deps)
|
|
$(AM_V_GEN)cd '$(srcdir)/$(ltdl_dir)' && $(ACLOCAL) -I ../m4
|
|
|
|
-$(lt_configure): $(lt_configure_deps)
|
|
+$(lt_configure): $(lt_configure_deps) $(lt_config_h_in)
|
|
$(AM_V_GEN)cd '$(srcdir)/$(ltdl_dir)' && $(AUTOCONF)
|
|
|
|
$(lt_config_h_in): $(lt_configure_deps)
|
|
--
|
|
2.25.1
|
|
|