Skip to content

Conversation

@tobil4sk
Copy link
Member

The exposed configuration can be used to solve issues with static linking. Closes #1126.

An external static library built with hxcpp that wants to link with mbedtls can now use:

  • <include name="${HXCPP}/project/thirdparty/mbedtls-flags.xml" /> to include the necessary compilation flags for compiling a source files that want to include mbedtls headers (i.e. include paths and defines)
  • <include name="${HXCPP}/project/thirdparty/mbedtls-files.xml" /> so that <files id="mbedtls" /> can be added to a target to link mbedtls.

The exposed configuration can be used to solve issues with static
linking
@Simn Simn merged commit d6ebd3c into HaxeFoundation:master Jul 25, 2024
@tobil4sk tobil4sk deleted the expose-mbedtls-xml branch July 25, 2024 12:41
@skial skial mentioned this pull request Aug 7, 2024
1 task
tobil4sk added a commit to tobil4sk/lime that referenced this pull request Jan 23, 2025
The latest hxcpp makes it easier to link against the internal mbedtls,
however we still need backwards compatibility.

HaxeFoundation/hxcpp#1133
joshtynjala pushed a commit to openfl/lime that referenced this pull request Feb 10, 2025
The latest hxcpp makes it easier to link against the internal mbedtls,
however we still need backwards compatibility.

HaxeFoundation/hxcpp#1133
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conflicts when static linking a library that uses mbedtls

2 participants