diff options
| author | Jonathan Tinkham | 2018-02-10 20:48:46 -0700 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-02-19 22:13:46 +0100 |
| commit | 0d03b5f16276ca7553d47705bcef32c8aded936b (patch) | |
| tree | ab7580ce6b609f2c4ec5b7eb37847f5774316391 /modules/mono | |
| parent | 148e059940bf473de671fcf909620279d3d6876e (diff) | |
| download | godot-0d03b5f16276ca7553d47705bcef32c8aded936b.tar.gz godot-0d03b5f16276ca7553d47705bcef32c8aded936b.tar.zst godot-0d03b5f16276ca7553d47705bcef32c8aded936b.zip | |
Add and use mono build variables with cloned environment.
(cherry picked from commit 70d281b94685c2ce6273125efa1babd1e4cfd4dc)
Diffstat (limited to 'modules/mono')
| -rw-r--r-- | modules/mono/SCsub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/SCsub b/modules/mono/SCsub index 320bbe709..aa8626e6d 100644 --- a/modules/mono/SCsub +++ b/modules/mono/SCsub @@ -57,10 +57,10 @@ if env['tools']: vars = Variables() vars.Add(BoolVariable('mono_glue', 'Build with the mono glue sources', True)) vars.Add(BoolVariable('xbuild_fallback', 'If MSBuild is not found, fallback to xbuild', False)) -vars.Update(env) +vars.Update(env_mono) # Glue sources -if env['mono_glue']: +if env_mono['mono_glue']: env_mono.add_source_files(env.modules_sources, 'glue/*.cpp') else: env_mono.Append(CPPDEFINES=['MONO_GLUE_DISABLED']) |
