You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Mono: Fix SCons options added to the wrong environment
This commit is contained in:
@@ -47,14 +47,6 @@ def copy_file(src_dir, dst_dir, name):
|
||||
|
||||
|
||||
def configure(env, env_mono):
|
||||
from SCons.Script import BoolVariable, PathVariable, Variables
|
||||
|
||||
envvars = Variables()
|
||||
envvars.Add(PathVariable('mono_prefix', 'Path to the mono installation directory for the target platform and architecture', '', PathVariable.PathAccept))
|
||||
envvars.Add(BoolVariable('mono_static', 'Statically link mono', False))
|
||||
envvars.Add(BoolVariable('copy_mono_root', 'Make a copy of the mono installation directory to bundle with the editor', False))
|
||||
envvars.Update(env)
|
||||
|
||||
bits = env['bits']
|
||||
is_android = env['platform'] == 'android'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user