From 7ebab72bbf0827e95f9a16269a2f8509cdfa18a1 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 9 Sep 2017 23:39:25 +0200 Subject: [PATCH] package/asterisk: add optional libsrtp 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 f5efdfaabb..e674565db1 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -90,7 +90,6 @@ ASTERISK_CONF_OPTS = \ --without-spandsp \ --without-ss7 \ --without-sqlite \ - --without-srtp \ --without-suppserv \ --without-tds \ --without-termcap \ @@ -211,6 +210,13 @@ else ASTERISK_CONF_OPTS += --without-speex --without-speexdsp endif +ifeq ($(BR2_PACKAGE_LIBSRTP),y) +ASTERISK_DEPENDENCIES += libsrtp +ASTERISK_CONF_OPTS += --with-srtp +else +ASTERISK_CONF_OPTS += --without-srtp +endif + ifeq ($(BR2_PACKAGE_LIBVORBIS),y) ASTERISK_DEPENDENCIES += libvorbis ASTERISK_CONF_OPTS += --with-vorbis -- 2.30.2