2018-05-21 13:58:52 +02:00
|
|
|
--- a/library/CMakeLists.txt
|
|
|
|
+++ b/library/CMakeLists.txt
|
2019-05-17 22:20:09 +02:00
|
|
|
@@ -165,7 +165,7 @@ endif(USE_STATIC_MBEDTLS_LIBRARY)
|
2018-05-21 13:58:52 +02:00
|
|
|
|
|
|
|
if(USE_SHARED_MBEDTLS_LIBRARY)
|
|
|
|
add_library(mbedcrypto SHARED ${src_crypto})
|
2019-06-19 00:31:03 +02:00
|
|
|
- set_target_properties(mbedcrypto PROPERTIES VERSION 2.16.2 SOVERSION 3)
|
2018-05-21 13:58:52 +02:00
|
|
|
+ set_target_properties(mbedcrypto PROPERTIES VERSION 2.12.0 SOVERSION 1)
|
|
|
|
target_link_libraries(mbedcrypto ${libs})
|
|
|
|
|
|
|
|
add_library(mbedx509 SHARED ${src_x509})
|
2019-05-17 22:20:09 +02:00
|
|
|
@@ -173,7 +173,7 @@ if(USE_SHARED_MBEDTLS_LIBRARY)
|
2018-05-21 13:58:52 +02:00
|
|
|
target_link_libraries(mbedx509 ${libs} mbedcrypto)
|
|
|
|
|
|
|
|
add_library(mbedtls SHARED ${src_tls})
|
2019-06-19 00:31:03 +02:00
|
|
|
- set_target_properties(mbedtls PROPERTIES VERSION 2.16.2 SOVERSION 12)
|
2018-05-21 13:58:52 +02:00
|
|
|
+ set_target_properties(mbedtls PROPERTIES VERSION 2.12.0 SOVERSION 10)
|
|
|
|
target_link_libraries(mbedtls ${libs} mbedx509)
|
|
|
|
|
|
|
|
install(TARGETS mbedtls mbedx509 mbedcrypto
|
|
|
|
--- a/library/Makefile
|
|
|
|
+++ b/library/Makefile
|
|
|
|
@@ -35,9 +35,9 @@ LOCAL_CFLAGS += -fPIC -fpic
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2018-12-22 11:16:17 +01:00
|
|
|
-SOEXT_TLS=so.12
|
2018-05-21 13:58:52 +02:00
|
|
|
+SOEXT_TLS=so.10
|
|
|
|
SOEXT_X509=so.0
|
|
|
|
-SOEXT_CRYPTO=so.3
|
|
|
|
+SOEXT_CRYPTO=so.1
|
|
|
|
|
|
|
|
# Set AR_DASH= (empty string) to use an ar implentation that does not accept
|
|
|
|
# the - prefix for command line options (e.g. llvm-ar)
|