summaryrefslogtreecommitdiff
path: root/contrib/scripts
diff options
context:
space:
mode:
authorAlexander Traud <pabstraud@compuserve.com>2016-07-11 17:17:47 +0200
committerAlexander Traud <pabstraud@compuserve.com>2016-07-11 10:19:59 -0500
commitf5e987201658ac468baeeb8cd4529b5868a9c08c (patch)
treef9b9a87f5a0d7dc0a1cd4ec079e412b2859f1341 /contrib/scripts
parent8019f321290818de8be4772c8b6afaa6e9b312b2 (diff)
install_prereq: Checkout of libSRTP 1.5.x.
Since 5th November 2014, the master branch of libSRTP changed the prefix of several member names and is not compatible with the source code in Asterisk anymore. Therefore instead, this change checks out the latest version of the libSRTP 1.5.x branch. Furthermore now, libSRTP is compiled with OpenSSL as backend. This makes AES-GCM and AES-IN possible. ASTERISK-22131 #close Change-Id: I2e396cdc01da0ff610686e398ed210ca7408f7d6
Diffstat (limited to 'contrib/scripts')
-rwxr-xr-xcontrib/scripts/install_prereq4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq
index bda28e9f7..fb240890b 100755
--- a/contrib/scripts/install_prereq
+++ b/contrib/scripts/install_prereq
@@ -175,7 +175,9 @@ install_unpackaged() {
cd libsrtp
git pull
fi
- ./configure CFLAGS=-fPIC && make libsrtp.a && make uninstall && make install
+ git checkout "1_5_x_throttle"
+ ./configure --disable-debug --disable-stdout --enable-openssl
+ make shared_library uninstall install
cd ..
echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local.conf
/sbin/ldconfig