SCons: Fix mono_root initialization

As advised by @neikeq.
This commit is contained in:
Rémi Verschelde 2018-08-14 08:55:37 +02:00
parent c4e75aa63a
commit 695b8d254e

View file

@ -83,7 +83,8 @@ def configure(env):
mono_lib_names = ['mono-2.0-sgen', 'monosgen-2.0']
if env['platform'] == 'windows':
mono_root = None
mono_root = ''
if bits == '32':
if os.getenv('MONO32_PREFIX'):
mono_root = os.getenv('MONO32_PREFIX')