diff options
author | Zach van Rijn <me@zv.io> | 2023-04-11 04:15:04 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-04-11 04:15:09 +0000 |
commit | 1093a693c3933fac3586b8a768310fc0a9e23925 (patch) | |
tree | f92d7b34cfc4421624802b9a6fa4d4826f651798 /user/mbedtls | |
parent | 2caf479a2af09f1719eb979ab72eacd9ebaac776 (diff) | |
download | packages-1093a693c3933fac3586b8a768310fc0a9e23925.tar.gz packages-1093a693c3933fac3586b8a768310fc0a9e23925.tar.bz2 packages-1093a693c3933fac3586b8a768310fc0a9e23925.tar.xz packages-1093a693c3933fac3586b8a768310fc0a9e23925.zip |
user/mbedtls: enable DTLS-SRTP support.
Diffstat (limited to 'user/mbedtls')
-rw-r--r-- | user/mbedtls/APKBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/user/mbedtls/APKBUILD b/user/mbedtls/APKBUILD index 802946431..703e5f7c7 100644 --- a/user/mbedtls/APKBUILD +++ b/user/mbedtls/APKBUILD @@ -24,6 +24,11 @@ build() { if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi + + sed -i include/mbedtls/mbedtls_config.h \ + -e 's@^//#define MBEDTLS_SSL_DTLS_SRTP$@#define MBEDTLS_SSL_DTLS_SRTP@g' `#991` \ + ; + cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ |