* It uses a prebuilt version of libtool which does not know
about sysroot and worse it does not use automake and autoconf in such
a way that one could use autoreconf to regenerate stuff. So we
regenerate the things needed for libtool macros. It should work
with any version of libtool now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
SECTION = "libs"
LDAP_VER = "${@'.'.join(bb.data.getVar('PV',d,1).split('.')[0:2])}"
-PR = "r1"
+PR = "r2"
SRC_URI = "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz"
SRC_URI += "file://openldap-m4-pthread.patch"
CPPFLAGS_append = " -D_GNU_SOURCE"
do_configure() {
+ cp ${STAGING_DATADIR}/libtool/ltmain.sh ${S}/build
+ rm -f ${S}/libtool
+ aclocal
+ libtoolize --force --copy
gnu-configize
+ autoconf
oe_runconf
}