SCons: Fix mono_root initialization
As advised by @neikeq.
This commit is contained in:
@ -83,7 +83,8 @@ def configure(env):
|
|||||||
mono_lib_names = ['mono-2.0-sgen', 'monosgen-2.0']
|
mono_lib_names = ['mono-2.0-sgen', 'monosgen-2.0']
|
||||||
|
|
||||||
if env['platform'] == 'windows':
|
if env['platform'] == 'windows':
|
||||||
mono_root = None
|
mono_root = ''
|
||||||
|
|
||||||
if bits == '32':
|
if bits == '32':
|
||||||
if os.getenv('MONO32_PREFIX'):
|
if os.getenv('MONO32_PREFIX'):
|
||||||
mono_root = os.getenv('MONO32_PREFIX')
|
mono_root = os.getenv('MONO32_PREFIX')
|
||||||
|
|||||||
Reference in New Issue
Block a user