summaryrefslogtreecommitdiff
path: root/user/mbedtls/APKBUILD
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2023-04-11 04:15:04 +0000
committerZach van Rijn <me@zv.io>2023-04-11 04:15:09 +0000
commit1093a693c3933fac3586b8a768310fc0a9e23925 (patch)
treef92d7b34cfc4421624802b9a6fa4d4826f651798 /user/mbedtls/APKBUILD
parent2caf479a2af09f1719eb979ab72eacd9ebaac776 (diff)
downloadpackages-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/APKBUILD')
-rw-r--r--user/mbedtls/APKBUILD5
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 \