From 51a0a3813577f20dd76a297e51d2b4445546a7d9 Mon Sep 17 00:00:00 2001 From: Teashrock Date: Mon, 13 Aug 2018 16:31:41 +0300 Subject: [PATCH] Fixed absent variable exception while trying to raise another exception. --- modules/mono/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/mono/config.py b/modules/mono/config.py index 9a000a2a72f..7f226443a17 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')