Merge pull request #285 from Faless/build/fix_libgit_tool

Properly specify the `STATIC_CRT` libgit2 flag
This commit is contained in:
Rémi Verschelde
2025-05-27 14:01:19 +02:00
committed by GitHub

View File

@@ -26,7 +26,7 @@ def build_library(env, deps):
"LIBSSH2_INCLUDE_DIR": env.Dir("#thirdparty/ssh2/libssh2/include").abspath,
"LIBSSH2_LIBRARY": deps[-1],
"USE_WINHTTP": 0,
"STATIC_CRT": 0,
"STATIC_CRT": env.get("use_static_cpp", True),
}
if env["platform"] != "windows":