]> 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)
committerSteve Sakoman <steve@sakoman.com>
Wed, 31 Mar 2021 15:08:47 +0000 (05:08 -1000)
commitac63b30ac7dce558c9de5be985c153e4617157d5
tree79bb837afc143ec1b1739c732b67eb799d63150e
parent4e17f9806f64301c942600b650b3dd5e34ca1838
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: Steve Sakoman <steve@sakoman.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]