aboutsummaryrefslogtreecommitdiff
path: root/package/apr-util
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2018-05-04 20:26:15 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-08 15:26:57 +0200
commit134968c6c80fd9767e8731c821d690e53cd7f3da (patch)
tree2c4d08c39bf463304c40350b093737f3ac8aed8c /package/apr-util
parent1ec1479fbe520ec468ad7a00bda8311597cff8ea (diff)
downloadbuildroot-134968c6c80fd9767e8731c821d690e53cd7f3da.tar.gz
buildroot-134968c6c80fd9767e8731c821d690e53cd7f3da.tar.bz2
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 <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/apr-util')
-rw-r--r--package/apr-util/apr-util.mk10
1 files changed, 10 insertions, 0 deletions
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