diff --git a/package/polarssl/polarssl-shared-and-static-library.patch b/package/polarssl/polarssl-shared-and-static-library.patch index ec65285f8..8f7ce5f5b 100644 --- a/package/polarssl/polarssl-shared-and-static-library.patch +++ b/package/polarssl/polarssl-shared-and-static-library.patch @@ -9,7 +9,7 @@ This patch adds the USE_STATIC_POLARSSL_LIBRARY (which defaults to ON) in addition to the existing USE_SHARED_POLARSSL_LIBRARY (which defaults to OFF). Both options can be manipulated independently. -[Gustavo: update for polarssl 1.2.3] +[Gustavo: update for polarssl 1.2.5] Signed-off-by: Thomas Petazzoni Signed-off-by: Gustavo Zacarias @@ -34,7 +34,7 @@ diff -Nura polarssl-1.2.3.orig/library/CMakeLists.txt polarssl-1.2.3/library/CMa +if(USE_SHARED_POLARSSL_LIBRARY) add_library(polarssl SHARED ${src}) - set_target_properties(polarssl PROPERTIES VERSION 1.2.3 SOVERSION 2) + set_target_properties(polarssl PROPERTIES VERSION 1.2.5 SOVERSION 2) +set_target_properties(polarssl PROPERTIES OUTPUT_NAME polarssl) + +endif(USE_SHARED_POLARSSL_LIBRARY) diff --git a/package/polarssl/polarssl.mk b/package/polarssl/polarssl.mk index c66c633f9..0478f8a3d 100644 --- a/package/polarssl/polarssl.mk +++ b/package/polarssl/polarssl.mk @@ -1,5 +1,5 @@ POLARSSL_SITE = https://polarssl.org/download -POLARSSL_VERSION = 1.2.3 +POLARSSL_VERSION = 1.2.5 POLARSSL_SOURCE = polarssl-$(POLARSSL_VERSION)-gpl.tgz POLARSSL_CONF_OPT = \ -DUSE_SHARED_POLARSSL_LIBRARY=ON \