Commit 26275077 authored by Martin v. Löwis's avatar Martin v. Löwis

Introduce DISTUTILS_USE_SDK as a flag to determine whether the

SDK environment should be used. Fixes #1508010.
parent 07d3e934
......@@ -237,7 +237,7 @@ class MSVCCompiler (CCompiler) :
def initialize(self):
self.__paths = []
if os.environ.has_key("MSSdk") and self.find_exe("cl.exe"):
if os.environ.has_key("DISTUTILS_USE_SDK") and os.environ.has_key("MSSdk") and self.find_exe("cl.exe"):
# Assume that the SDK set up everything alright; don't try to be
# smarter
self.cc = "cl.exe"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment