diff --git a/platform/uwp/detect.py b/platform/uwp/detect.py index d850ab94365..3ee195e4f93 100644 --- a/platform/uwp/detect.py +++ b/platform/uwp/detect.py @@ -25,10 +25,11 @@ def can_build(): def get_opts(): + from SCons.Variables import BoolVariable return [ ('msvc_version', 'MSVC version to use. Ignored if VCINSTALLDIR is set in shell env.', None), - (BoolVariable('use_mingw', 'Use the Mingw compiler, even if MSVC is installed. Only used on Windows.', False)), + BoolVariable('use_mingw', 'Use the Mingw compiler, even if MSVC is installed. Only used on Windows.', False), ] diff --git a/platform/windows/detect.py b/platform/windows/detect.py index 1cb8cb0fc8c..3cf1482a656 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -65,7 +65,7 @@ def get_opts(): EnumVariable('debug_symbols', 'Add debug symbols to release version', 'yes', ('yes', 'no', 'full')), BoolVariable('separate_debug_symbols', 'Create a separate file with the debug symbols', False), ('msvc_version', 'MSVC version to use. Ignored if VCINSTALLDIR is set in shell env.', None), - (BoolVariable('use_mingw', 'Use the Mingw compiler, even if MSVC is installed. Only used on Windows.', False)), + BoolVariable('use_mingw', 'Use the Mingw compiler, even if MSVC is installed. Only used on Windows.', False), ]