Fixed absent variable exception while trying to raise another exception.

This commit is contained in:
Teashrock 2018-08-13 16:31:41 +03:00 committed by Rémi Verschelde
parent c091c12dcc
commit 51a0a38135
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ 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
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')