From f7aaf161fb392077b4ca8a48dd4b19d9d39ae5f4 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. (cherry picked from commits 51a0a3813577f20dd76a297e51d2b4445546a7d9 and 695b8d254e508bb2023e21d7ffa99871c4095e94) --- modules/mono/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/mono/config.py b/modules/mono/config.py index 8e65bdab8ca..3fcc6354b38 100644 --- a/modules/mono/config.py +++ b/modules/mono/config.py @@ -82,6 +82,7 @@ def configure(env): mono_lib_names = ['mono-2.0-sgen', 'monosgen-2.0'] if env['platform'] == 'windows': + mono_root = '' if bits == '32': if os.getenv('MONO32_PREFIX'): mono_root = os.getenv('MONO32_PREFIX')