Fixed absent variable exception while trying to raise another exception.

(cherry picked from commits 51a0a38135
and 695b8d254e)
This commit is contained in:
Teashrock 2018-08-13 16:31:41 +03:00 committed by Rémi Verschelde
parent 2e34a922f0
commit f7aaf161fb
1 changed files with 1 additions and 0 deletions

View File

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