From 00edf47529e6d37962f76c3a6c045df6b798f5b3 Mon Sep 17 00:00:00 2001 From: Tobiasz Laskowski Date: Thu, 11 Jul 2024 23:42:20 +0100 Subject: [PATCH] Add support for linking mbedtls on latest hxcpp The latest hxcpp makes it easier to link against the internal mbedtls, however we still need backwards compatibility. https://github.com/HaxeFoundation/hxcpp/pull/1133 --- project/lib/curl-files.xml | 18 +++++++++++++----- templates/cpp/static/BuildMain.xml | 7 +++++-- .../{{app.file}}/haxe/BuildHxcppMbedtls.xml | 9 ++++++--- templates/tvos/PROJ/haxe/BuildHxcppMbedtls.xml | 9 ++++++--- 4 files changed, 30 insertions(+), 13 deletions(-) diff --git a/project/lib/curl-files.xml b/project/lib/curl-files.xml index 1f25e9962..69220ce05 100644 --- a/project/lib/curl-files.xml +++ b/project/lib/curl-files.xml @@ -1,5 +1,7 @@ - + + + @@ -28,10 +30,16 @@
- - - - + + +
+ + + + + + +
diff --git a/templates/cpp/static/BuildMain.xml b/templates/cpp/static/BuildMain.xml index f49c7e5c8..6813ce32d 100644 --- a/templates/cpp/static/BuildMain.xml +++ b/templates/cpp/static/BuildMain.xml @@ -2,7 +2,9 @@ - + + + @@ -13,7 +15,8 @@ - + + ::foreach ndlls:: ::end:: diff --git a/templates/ios/template/{{app.file}}/haxe/BuildHxcppMbedtls.xml b/templates/ios/template/{{app.file}}/haxe/BuildHxcppMbedtls.xml index f55252a1d..5c2ddf007 100644 --- a/templates/ios/template/{{app.file}}/haxe/BuildHxcppMbedtls.xml +++ b/templates/ios/template/{{app.file}}/haxe/BuildHxcppMbedtls.xml @@ -1,11 +1,14 @@ - - + + + + - + + diff --git a/templates/tvos/PROJ/haxe/BuildHxcppMbedtls.xml b/templates/tvos/PROJ/haxe/BuildHxcppMbedtls.xml index f55252a1d..5c2ddf007 100644 --- a/templates/tvos/PROJ/haxe/BuildHxcppMbedtls.xml +++ b/templates/tvos/PROJ/haxe/BuildHxcppMbedtls.xml @@ -1,11 +1,14 @@ - - + + + + - + +