package/asterisk: add optional support for openssl

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Yann E. MORIN 2017-09-09 23:39:11 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 13fcc16db7
commit 5bc671c32d

View File

@ -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