summaryrefslogtreecommitdiff
path: root/package/libs/mbedtls/patches/300-soversion-compatibility.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/mbedtls/patches/300-soversion-compatibility.patch')
-rw-r--r--package/libs/mbedtls/patches/300-soversion-compatibility.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/libs/mbedtls/patches/300-soversion-compatibility.patch b/package/libs/mbedtls/patches/300-soversion-compatibility.patch
index 4d33be2..320482c 100644
--- a/package/libs/mbedtls/patches/300-soversion-compatibility.patch
+++ b/package/libs/mbedtls/patches/300-soversion-compatibility.patch
@@ -8,8 +8,8 @@ the new library with binaries compiled against the old library.
if(USE_SHARED_MBEDTLS_LIBRARY)
add_library(mbedcrypto SHARED ${src_crypto})
-- set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.2 SOVERSION 2)
-+ set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.2 SOVERSION 0)
+- set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.3 SOVERSION 2)
++ set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.3 SOVERSION 0)
target_link_libraries(mbedcrypto ${libs})
add_library(mbedx509 SHARED ${src_x509})
@@ -22,5 +22,5 @@ the new library with binaries compiled against the old library.
-SOEXT_CRYPTO=so.2
+SOEXT_CRYPTO=so.0
- DLEXT=so
- # OSX shared library extension:
+ # Set DLEXT=dylib to compile as a shared library for Mac OS X
+ DLEXT ?= so