From a783c309732db961fb8bb4af11b32f399dcbf456 Mon Sep 17 00:00:00 2001 From: Tobiasz Laskowski Date: Thu, 25 Jul 2024 11:21:13 +0100 Subject: [PATCH] [ssl] Expose mbedtls xml config for external use The exposed configuration can be used to solve issues with static linking --- .../config/mbedtls/include}/mbedtls_config.h | 0 .../config/mbedtls/include}/threading_alt.h | 0 project/thirdparty/mbedtls-files.xml | 113 +++++++++++++++++ project/thirdparty/mbedtls-flags.xml | 9 ++ src/hx/libs/ssl/Build.xml | 116 +----------------- 5 files changed, 125 insertions(+), 113 deletions(-) rename {src/hx/libs/ssl => project/thirdparty/config/mbedtls/include}/mbedtls_config.h (100%) rename {src/hx/libs/ssl => project/thirdparty/config/mbedtls/include}/threading_alt.h (100%) create mode 100644 project/thirdparty/mbedtls-files.xml create mode 100644 project/thirdparty/mbedtls-flags.xml diff --git a/src/hx/libs/ssl/mbedtls_config.h b/project/thirdparty/config/mbedtls/include/mbedtls_config.h similarity index 100% rename from src/hx/libs/ssl/mbedtls_config.h rename to project/thirdparty/config/mbedtls/include/mbedtls_config.h diff --git a/src/hx/libs/ssl/threading_alt.h b/project/thirdparty/config/mbedtls/include/threading_alt.h similarity index 100% rename from src/hx/libs/ssl/threading_alt.h rename to project/thirdparty/config/mbedtls/include/threading_alt.h diff --git a/project/thirdparty/mbedtls-files.xml b/project/thirdparty/mbedtls-files.xml new file mode 100644 index 000000000..2c092ed5b --- /dev/null +++ b/project/thirdparty/mbedtls-files.xml @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/project/thirdparty/mbedtls-flags.xml b/project/thirdparty/mbedtls-flags.xml new file mode 100644 index 000000000..aa2905c22 --- /dev/null +++ b/project/thirdparty/mbedtls-flags.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/hx/libs/ssl/Build.xml b/src/hx/libs/ssl/Build.xml index ae7977d10..2240f564a 100644 --- a/src/hx/libs/ssl/Build.xml +++ b/src/hx/libs/ssl/Build.xml @@ -2,124 +2,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - + +