summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/security/libressl/libressl.kconfig6
-rw-r--r--packages/security/libressl/libressl.mk3
2 files changed, 6 insertions, 3 deletions
diff --git a/packages/security/libressl/libressl.kconfig b/packages/security/libressl/libressl.kconfig
index 41a5ff2..aefc514 100644
--- a/packages/security/libressl/libressl.kconfig
+++ b/packages/security/libressl/libressl.kconfig
@@ -35,14 +35,14 @@ choice
help
Here you can choose which version of libressl you want to use.
- config EMBTK_LIBRESSL_VERSION_2_0_1
- bool "LibreSSL-2.0.1"
+ config EMBTK_LIBRESSL_VERSION_2_0_5
+ bool "LibreSSL-2.0.5"
select EMBTK_LIBRESSL_NEED_PATCH
endchoice
config EMBTK_LIBRESSL_VERSION_STRING
string
- default "2.0.1" if EMBTK_LIBRESSL_VERSION_2_0_1
+ default "2.0.5" if EMBTK_LIBRESSL_VERSION_2_0_5
config EMBTK_LIBRESSL_NEED_PATCH
bool
diff --git a/packages/security/libressl/libressl.mk b/packages/security/libressl/libressl.mk
index 25e462b..f3b7477 100644
--- a/packages/security/libressl/libressl.mk
+++ b/packages/security/libressl/libressl.mk
@@ -34,5 +34,8 @@ LIBRESSL_BINS := openssl
LIBRESSL_INCLUDES := openssl
LIBRESSL_LIBS := libcrypto.* libssl.*
LIBRESSL_CFLAGS := -D_DEFAULT_SOURCE
+ifeq ($(CONFIG_EMBTK_CLIB_UCLIBC),y)
+LIBRESSL_LDFLAGS := -pthread
+endif
LIBRESSL_CONFIGURE_OPTS := --program-transform-name='s;$(STRICT_GNU_TARGET)-;;'