From 134968c6c80fd9767e8731c821d690e53cd7f3da Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Fri, 4 May 2018 20:26:15 +0200 Subject: [PATCH] package/apr-util: add optional support for openldap apr-util contains optional support for openldap: $ ls -1 output/target/usr/lib/apr-util-1/apr_ldap* output/target/usr/lib/apr-util-1/apr_ldap-1.so output/target/usr/lib/apr-util-1/apr_ldap.la output/target/usr/lib/apr-util-1/apr_ldap.so Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/apr-util/apr-util.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk index 22f1913865..973194b915 100644 --- a/package/apr-util/apr-util.mk +++ b/package/apr-util/apr-util.mk @@ -47,6 +47,16 @@ else APR_UTIL_CONF_OPTS += --without-sqlite3 endif +ifeq ($(BR2_PACKAGE_OPENLDAP),y) +APR_UTIL_CONF_OPTS += \ + --with-ldap \ + --with-ldap-include="$(STAGING_DIR)/usr/include/" \ + --with-ldap-lib="$(STAGING_DIR)/usr/lib" +APR_UTIL_DEPENDENCIES += openldap +else +APR_UTIL_CONF_OPTS += --without-ldap +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) APR_UTIL_CONF_OPTS += --with-crypto --with-openssl="$(STAGING_DIR)/usr" APR_UTIL_DEPENDENCIES += openssl -- 2.30.2