Skip to content

Commit

Permalink
SCons: Restore compatibility with SCons < 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga committed May 17, 2024
1 parent f4b047a commit 856fbc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 856fbc6

Please sign in to comment.