From 40e5c0c733977ae9f3ad149b7c40d1d00f0e398c Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Wed, 28 May 2025 18:30:10 +0200 Subject: [PATCH] mbedTLS: Fix install dir on Linux Force cmake INSTALL_LIBDIR to avoid distro discrepancies Disable werror which can cause issues with newer GCC --- tools/mbedtls.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/mbedtls.py b/tools/mbedtls.py index cdad730..1891f0f 100644 --- a/tools/mbedtls.py +++ b/tools/mbedtls.py @@ -13,7 +13,9 @@ def build_library(env): "ENABLE_TESTING": 0, "ENABLE_PROGRAMS": 0, "CMAKE_INSTALL_PREFIX": env.Dir(mbedtls_bin).abspath, + "CMAKE_INSTALL_LIBDIR": "lib", "CMAKE_C_FLAGS": c_flags, + "MBEDTLS_FATAL_WARNINGS": 0, } lib_ext = ".lib" if is_msvc else ".a" lib_prefix = "" if is_msvc else "lib"