net/asterisk-13.x: prevent libsrtp2 detection
authorSebastian Kemper <sebastian_ml@gmx.net>
Fri, 28 Jul 2017 19:51:19 +0000 (21:51 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Fri, 28 Jul 2017 19:51:21 +0000 (21:51 +0200)
Asterisk 13 looks for libsrtp2. Unfortunately it also looks for a header
which libsrtp2 does not make public:

res_srtp.c:44:33: fatal error: srtp2/crypto_types.h: No such file or directory
compilation terminated.

This causes the asterisk build to fail. Fix this by disabling libsrtp2
detection in Asterisk 13.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/asterisk-13.x/Makefile

index 005b7ae32b50de246722c65f5a3133b5d321df29..324d5a3beb3961d069e05e20db9495de20ce2163 100644 (file)
@@ -227,6 +227,7 @@ CONFIGURE_ARGS+= \
        --enable-xmldoc
 
 CONFIGURE_VARS += \
+       ac_cv_lib_srtp2_srtp_init=no \
        ac_cv_path_ac_pt_CONFIG_LIBXML2=$(STAGING_DIR)/host/bin/xml2-config
 
 AST_MENUSELECT_OPTS = \