From 04d86a599104d2558a335d62e34d04402e155f53 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 9 Sep 2017 23:39:23 +0200 Subject: [PATCH] package/asterisk: add optional openldap dependency Signed-off-by: "Yann E. MORIN" [Arnout: --with-ldap, suggested by Bernd] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index 921281e260..5ccd451ceb 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -66,7 +66,6 @@ ASTERISK_CONF_OPTS = \ --without-jack \ --without-uriparser \ --without-kqueue \ - --without-ldap \ --without-libedit \ --without-libxslt \ --without-ltdl \ @@ -155,6 +154,13 @@ else ASTERISK_CONF_OPTS += --without-ical endif +ifeq ($(BR2_PACKAGE_OPENLDAP),y) +ASTERISK_DEPENDENCIES += openldap +ASTERISK_CONF_OPTS += --with-ldap +else +ASTERISK_CONF_OPTS += --without-ldap +endif + ifeq ($(BR2_PACKAGE_NEON),y) ASTERISK_DEPENDENCIES += neon ASTERISK_CONF_OPTS += --with-neon -- 2.30.2