From a1e2cd6325d66a7a793792d2a5cc661d10562f44 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 9 Sep 2017 23:39:22 +0200 Subject: [PATCH] package/asterisk: add optional libical dependency Signed-off-by: "Yann E. MORIN" 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 de3a0d5291..921281e260 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -57,7 +57,6 @@ ASTERISK_CONF_OPTS = \ --without-gmime \ --without-h323 \ --without-hoard \ - --without-ical \ --without-iconv \ --without-iksemel \ --without-imap \ @@ -149,6 +148,13 @@ else ASTERISK_CONF_OPTS += --without-bluetooth endif +ifeq ($(BR2_PACKAGE_LIBICAL),y) +ASTERISK_DEPENDENCIES += libical +ASTERISK_CONF_OPTS += --with-ical +else +ASTERISK_CONF_OPTS += --without-ical +endif + ifeq ($(BR2_PACKAGE_NEON),y) ASTERISK_DEPENDENCIES += neon ASTERISK_CONF_OPTS += --with-neon