From 5bc671c32dce7f0eb6be3b903a3ed45f113fcd33 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 9 Sep 2017 23:39:11 +0200 Subject: [PATCH] package/asterisk: add optional support for openssl 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 a3a3703380..8d21601e3e 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -102,7 +102,6 @@ ASTERISK_CONF_OPTS = \ --without-speexdsp \ --without-sqlite \ --without-srtp \ - --without-ssl \ --without-suppserv \ --without-tds \ --without-termcap \ @@ -145,6 +144,13 @@ else ASTERISK_CONF_OPTS += --without-gsm endif +ifeq ($(BR2_PACKAGE_OPENSSL),y) +ASTERISK_DEPENDENCIES += openssl +ASTERISK_CONF_OPTS += --with-ssl +else +ASTERISK_CONF_OPTS += --without-ssl +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) ASTERISK_DEPENDENCIES += zlib ASTERISK_CONF_OPTS += --with-z -- 2.30.2