openldap: inherit autotools-brokensep

Also remove hack that deletes headers from staging, it's not needed anymore.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Koen Kooi
2014-04-30 07:22:20 +02:00
committed by Martin Jansa
parent 806ba2885b
commit 86de202b7e
@@ -29,7 +29,7 @@ PR = "r1"
# environments
SRC_URI += "file://install-strip.patch"
inherit autotools
inherit autotools-brokensep
# CV SETTINGS
# Required to work round AC_FUNC_MEMCMP which gets the wrong answer
@@ -151,20 +151,6 @@ do_configure() {
oe_runconf
}
#FIXME: this is a hack, at present an openldap build will pick up the header
# files from staging rather than the local ones (bad -I order), so remove
# the headers (from openldap-old.x) before compiling...
do_compile_prepend() {
(
cd ${STAGING_INCDIR}
rm -f ldap.h ldap_*.h
)
(
cd ${STAGING_LIBDIR}
rm -f libldap* liblber*
)
}
LEAD_SONAME = "libldap-${LDAP_VER}.so.*"
# The executables go in a separate package. This allows the