Browse Source

Fixed absent variable exception while trying to raise another exception.

Teashrock 7 years ago
parent
commit
51a0a38135
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/mono/config.py

+ 1 - 0
modules/mono/config.py

@@ -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')