summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \