diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-17 11:14:18 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-17 11:14:18 +0200 |
commit | 5b341621e6cdcf0f3a37a432b7fef2fce1e1cf00 (patch) | |
tree | 0ad235b81e34567049bc3f145fff595b8b64943b | |
parent | 375e5be340c9e37ff1993964d03853ef1657bc43 (diff) | |
parent | 856fbc68b327f2ab0212389976d9092828ae3626 (diff) | |
download | redot-engine-5b341621e6cdcf0f3a37a432b7fef2fce1e1cf00.tar.gz |
Merge pull request #92041 from akien-mga/scons-restore-compat-pre-4.0.0
SCons: Restore compatibility with SCons < 4.0.0
-rw-r--r-- | SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index 07ec014cf9..c062f95bdb 100644 --- a/SConstruct +++ b/SConstruct @@ -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 |