diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-09-14 16:02:04 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-09-15 10:54:00 +0200 |
commit | d2b38aabecd8f9bac5c050841f730ccbe07538f2 (patch) | |
tree | 27bb0ff139cb0a9545439e08ec711689cda19a74 /core/SCsub | |
parent | 4547e223933d1c1b24a526b3d632a2f96cdd6c8b (diff) |
Bundle SSL certs with the templates.
If this is undesired it can be avoided by specifying builtin_certs=no .
Bundled SSL certs will be used unless you specify an override in:
Project Settings -> SSL -> Certificates .
Diffstat (limited to 'core/SCsub')
-rw-r--r-- | core/SCsub | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/SCsub b/core/SCsub index a6365bf925..8012ed132c 100644 --- a/core/SCsub +++ b/core/SCsub @@ -93,6 +93,9 @@ if 'builtin_zstd' in env and env['builtin_zstd']: # Godot's own sources env.add_source_files(env.core_sources, "*.cpp") +# Certificates +env.Depends("#core/io/certs_compressed.gen.h", ["#thirdparty/certs/ca-certificates.crt", env.Value(env['builtin_certs'])]) +env.CommandNoCache("#core/io/certs_compressed.gen.h", "#thirdparty/certs/ca-certificates.crt", run_in_subprocess(core_builders.make_certs_header)) # Make binders env.CommandNoCache(['method_bind.gen.inc', 'method_bind_ext.gen.inc'], 'make_binders.py', run_in_subprocess(make_binders.run)) |