summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeashrock <kajitsu22@gmail.com>2018-08-13 16:31:41 +0300
committerRĂ©mi Verschelde <rverschelde@gmail.com>2018-08-13 16:28:28 +0200
commit51a0a3813577f20dd76a297e51d2b4445546a7d9 (patch)
tree10a073659b9218faea53725d65ab878029e1f2f2
parentc091c12dcc40872f9a045ec0e92f3732a2e5c9e0 (diff)
Fixed absent variable exception while trying to raise another exception.
-rw-r--r--modules/mono/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mono/config.py b/modules/mono/config.py
index 9a000a2a72..7f226443a1 100644
--- a/modules/mono/config.py
+++ b/modules/mono/config.py
@@ -83,6 +83,7 @@ def configure(env):
mono_lib_names = ['mono-2.0-sgen', 'monosgen-2.0']
if env['platform'] == 'windows':
+ mono_root = None
if bits == '32':
if os.getenv('MONO32_PREFIX'):
mono_root = os.getenv('MONO32_PREFIX')