diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-02-13 20:11:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-13 20:11:00 +0100 |
commit | 95ac0bdf09a506e475832bd99489c4c507324fa8 (patch) | |
tree | 4235491e063b182737e211dbcb32a5ddee6ca4c5 | |
parent | 2099f7bc41288c9cfed1572f7324bd8010305603 (diff) | |
parent | 70d281b94685c2ce6273125efa1babd1e4cfd4dc (diff) |
Merge pull request #16551 from sctincman/xbuild_fallback-fix
Add and use mono build variables with cloned environment.
-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 320bbe7090..aa8626e6da 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']) |