You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Allow building with system wide mbedtls on X11
Using builtin_mbedtls=yes is still the default as many distributions do not ship with mbedtls included.
This commit is contained in:
@@ -71,8 +71,9 @@ else:
|
||||
wrapper_includes = ["#thirdparty/lws/mbedtls_wrapper/include/" + inc for inc in ["internal", "openssl", "platform", ""]]
|
||||
env_lws.Append(CPPPATH=wrapper_includes)
|
||||
|
||||
mbedtls_includes = "#thirdparty/mbedtls/include"
|
||||
env_lws.Append(CPPPATH=[mbedtls_includes])
|
||||
if env['builtin_mbedtls']:
|
||||
mbedtls_includes = "#thirdparty/mbedtls/include"
|
||||
env_lws.Append(CPPPATH=[mbedtls_includes])
|
||||
|
||||
if env_lws["platform"] == "windows":
|
||||
env_lws.Append(CPPPATH=[thirdparty_dir + helper_dir])
|
||||
|
||||
Reference in New Issue
Block a user