summaryrefslogtreecommitdiff
path: root/methods.py
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 /methods.py
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 'methods.py')
-rwxr-xr-xmethods.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/methods.py b/methods.py
index 477fe4f12f..bd5409e3d4 100755
--- a/methods.py
+++ b/methods.py
@@ -1516,11 +1516,6 @@ def detect_visual_c_compiler_version(tools_env):
return vc_chosen_compiler_str
-def msvc_is_detected() :
- # looks for VisualStudio env variable
- # or for Visual C++ Build Tools (which is a standalone MSVC)
- return os.getenv("VSINSTALLDIR") or os.getenv("VS100COMNTOOLS") or os.getenv("VS110COMNTOOLS") or os.getenv("VS120COMNTOOLS") or os.getenv("VS140COMNTOOLS");
-
def precious_program(env, program, sources, **args):
program = env.ProgramOriginal(program, sources, **args)