summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2016-10-28 20:57:51 -0200
committerGitHub <noreply@github.com>2016-10-28 20:57:51 -0200
commita52cbd65a8cc512c0292daedac59c3d7f1900286 (patch)
treea56edbd479d39b6fea46ea9e72a1902379bdd221 /SConstruct
parent8321e48ab0ac0700e1aef8f829140052c1ba4c6d (diff)
parentf7773d499dcd1d9580616dd1ba03f7382ac44cae (diff)
Merge pull request #6937 from SuperUserNameMan/fix_win_standalone_msvc_and_mingw_incompatibilities
fix bug introduced by #6501
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 72de2e2004..365463ebad 100644
--- a/SConstruct
+++ b/SConstruct
@@ -61,7 +61,7 @@ platform_arg = ARGUMENTS.get("platform", ARGUMENTS.get("p", False))
if (os.name=="posix"):
pass
elif (os.name=="nt"):
- if (not methods.msvc_is_detected() or platform_arg=="android"):
+ if ( os.getenv("VCINSTALLDIR")==None or platform_arg=="android"):
custom_tools=['mingw']
env_base=Environment(tools=custom_tools);