diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2017-09-09 23:39:11 +0200 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2017-09-23 19:20:18 +0200 |
commit | 5bc671c32dce7f0eb6be3b903a3ed45f113fcd33 (patch) | |
tree | ea2656b854bf519946d5d1a444c79ccdc3300fee /package/asterisk | |
parent | 13fcc16db76d3c40911a3426cf6e8e729e077fa5 (diff) | |
download | buildroot-5bc671c32dce7f0eb6be3b903a3ed45f113fcd33.tar.gz buildroot-5bc671c32dce7f0eb6be3b903a3ed45f113fcd33.zip |
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>
Diffstat (limited to 'package/asterisk')
-rw-r--r-- | package/asterisk/asterisk.mk | 8 |
1 files changed, 7 insertions, 1 deletions
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 |