]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/blob
a92e22905fab7c9f2c326dd80f515d309349c2ab
[thirdparty/openembedded/openembedded-core-contrib.git] /
1 From: Mingli Yu <mingli.yu@windriver.com>
2 Subject: [PATCH 10/12] Makefile.am: make sure autoheader run before automake
3
4 When use automake to generate Makefile.in from Makefile.am, there
5 comes below race:
6 | configure.ac:45: error: required file 'config-h.in' not found
7
8 It is because the file config-h.in in updating process by autoheader,
9 so make automake run after autoheader to avoid the above race.
10
11 Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
12 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13
14 Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00020.html]
15
16 Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
17
18 diff --git a/Makefile.am b/Makefile.am
19 index 84795d87..8c9949ed 100644
20 --- a/Makefile.am
21 +++ b/Makefile.am
22 @@ -333,7 +333,7 @@ EXTRA_DIST += $(lt_aclocal_m4) \
23 $(lt_obsolete_m4) \
24 $(stamp_mk)
25
26 -$(lt_Makefile_in): $(lt_Makefile_am) $(lt_aclocal_m4)
27 +$(lt_Makefile_in): $(lt_Makefile_am) $(lt_aclocal_m4) $(lt_config_h_in)
28 $(AM_V_GEN)cd '$(srcdir)/$(ltdl_dir)' && $(AUTOMAKE) Makefile
29
30 # Don't let unused scripts leak into the libltdl Makefile
31 --
32 2.25.1
33