Skip to contentSkip to conversation

openldap: Fix build with autoconf 2.70+

PATCH New Khem Raj 1 participant 1 message Feb 8, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 openldap: Fix build with autoconf 2.70+

New autoconf is stricter about aux files therefore bring them from libtool native as they can not go missing anymore

---
 meta-oe/recipes-support/openldap/openldap_2.4.57.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-support/openldap/openldap_2.4.57.bb +3 -1
index a282523a3c..7c04600670 100644
@@ -151,11 +151,13 @@ 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
     gnu-configize
+    cp ${STAGING_DATADIR_NATIVE}/libtool/build-aux/ltmain.sh ${S}/build
+    cp ${STAGING_DATADIR_NATIVE}/libtool/build-aux/missing ${S}/build
+    cp ${STAGING_DATADIR_NATIVE}/libtool/build-aux/compile ${S}/build
     autoconf
     oe_runconf
 }
Signature · 1 line
2.30.0