Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ssl] Expose mbedtls xml config for external use #1133

Merged
merged 1 commit into from
Jul 25, 2024

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
120 checks passed
@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
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