openldap: fix build failure with autoconf 2.71
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH v2 1/1 openldap: fix build failure with autoconf 2.71
The do_configure failed with autoconf 2.71
...
configure: error: cannot find required auxiliary files: compile missing
...
Run libtoolize with option --install to copy missing auxiliary files and manually copy the others could workaround the failure
Signed-off-by Hongxu Jia <[email protected]>
--- meta-oe/recipes-support/openldap/openldap_2.4.57.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-support/openldap/openldap_2.4.57.bb +4 -2
@@ -151,10 +151,12 @@ CPPFLAGS_append = " -D_GNU_SOURCE -DURANDOM_DEVICE=\'/dev/urandom\' -fPIC" LDFLAGS_append = " -pthread" do_configure() { - cp ${STAGING_DATADIR_NATIVE}/libtool/build-aux/ltmain.sh ${S}/build rm -f ${S}/libtool aclocal - libtoolize --force --copy + libtoolize --force --copy --install + for f in compile missing; do + cp ${STAGING_DATADIR_NATIVE}/libtool/build-aux/$f ${S}/build + done gnu-configize autoconf oe_runconf
Signature · 1 line
2.27.0