]> code.ossystems Code Review - openembedded-core.git/commit
libtool: make sure autoheader run before autoconf
authorMingli Yu <mingli.yu@windriver.com>
Wed, 24 Mar 2021 06:48:53 +0000 (14:48 +0800)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 9 Apr 2021 06:03:01 +0000 (14:03 +0800)
commit7f2a5d0768d4b32d14d6dc436e0c79f57d7efb40
tree3ae0e912fe61ffb13801c2f3f74fb6adaf173f08
parent23144a6d9ada878a9d3bc6f33439497a555bd014
libtool: 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>
(cherry picked from commit d8451cbef5906b67756582fdfc44eb01ed3512fc)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-devtools/libtool/libtool-2.4.6.inc
meta/recipes-devtools/libtool/libtool/0001-Makefile.am-make-sure-autoheader-run-before-autoconf.patch [new file with mode: 0644]