1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

SCons: Restore compatibility with SCons < 4.0.0

Fixes #91986.
This commit is contained in:
Rémi Verschelde
2024-05-17 09:00:44 +02:00
parent f4b047a084
commit 856fbc68b3

View File

@@ -365,7 +365,7 @@ if env["platform"] in platform_opts:
opts.Add(opt)
# Update the environment to take platform-specific options into account.
opts.Update(env, {**ARGUMENTS, **env})
opts.Update(env, {**ARGUMENTS, **env.Dictionary()})
# Detect modules.
modules_detected = OrderedDict()
@@ -425,7 +425,7 @@ for name, path in modules_detected.items():
env.modules_detected = modules_detected
# Update the environment again after all the module options are added.
opts.Update(env, {**ARGUMENTS, **env})
opts.Update(env, {**ARGUMENTS, **env.Dictionary()})
Help(opts.GenerateHelpText(env))
# add default include paths