mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-15 17:20:07 +01:00
Since we've already set everything we need in the environment set DISTUTILS_USE_SDK so distutils won't try to do it all again.
This commit is contained in:
@@ -1011,6 +1011,11 @@ def getMSVCInfo(PYTHON, arch, set_env=False):
|
||||
os.environ['LIB'] = info.lib
|
||||
os.environ['LIBPATH'] = info.libpath
|
||||
|
||||
# We already have everything we need, tell distutils to not go hunting
|
||||
# for it all again if it happens to be called.
|
||||
os.environ['DISTUTILS_USE_SDK'] = "1"
|
||||
os.environ['MSSdk'] = "1"
|
||||
|
||||
MSVCinfo = info
|
||||
return info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user