* [Buildroot] [git commit] package/asterisk: add optional libsrtp dependency
@ 2017-09-23 17:20 Arnout Vandecappelle
0 siblings, 0 replies; only message in thread
From: Arnout Vandecappelle @ 2017-09-23 17:20 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=7ebab72bbf0827e95f9a16269a2f8509cdfa18a1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
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 f5efdfa..e674565 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-09-23 17:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-23 17:20 [Buildroot] [git commit] package/asterisk: add optional libsrtp dependency Arnout Vandecappelle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.