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

Link against hxcpp's mbedtls in static builds #1818

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Commits on Jul 11, 2024

  1. Link against hxcpp's mbedtls in static builds

    This avoids lime's mbedtls overwriting hxcpp's, which has caused issues
    in the past.
    tobil4sk committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    0df09bc View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Support hxcpp older than 4.3.0 for mbedtls linking

    Hxcpp 4.3.0 has an mbedtls_config.h file in ${HXCPP}/src/hx/libs/ssl,
    which we have to ensure is included, but older versions do not.
    
    To support both 4.3.0 and older versions, we can add an empty
    mbedtls_config.h and add the include path at the end. This way it will
    only be used if it does not exist in the previous include paths.
    tobil4sk committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    6377cce View commit details
    Browse the repository at this point in the history
  2. Update curl submodule

    Hxcpp's mbedtls has MBEDTLS_NET_C disabled, which meant that older
    versions of curl which use this feature cannot be linked against it.
    This version of curl no longer requires this feature, which avoids the
    issue.
    tobil4sk committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    13903b7 View commit details
    Browse the repository at this point in the history