From: Yann E. MORIN Date: Sat, 9 Sep 2017 21:39:23 +0000 (+0200) Subject: package/asterisk: add optional openldap dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04d86a599104d2558a335d62e34d04402e155f53;p=buildroot.git 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) --- 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