diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/uwp/detect.py | 3 | ||||
-rw-r--r-- | platform/windows/detect.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/platform/uwp/detect.py b/platform/uwp/detect.py index d850ab9436..3ee195e4f9 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 1cb8cb0fc8..3cf1482a65 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), ] |