Copy vcruntime140.dll to bin, necessary for building with Python 3.5

This commit is contained in:
rdb 2015-11-19 23:21:00 +01:00
parent c93e50ca05
commit 673263dc22
1 changed files with 4 additions and 0 deletions

View File

@ -2794,6 +2794,10 @@ if tp_dir is not None:
if (GetOptimize() <= 2): pydll += "_d.dll"
else: pydll += ".dll"
CopyFile(GetOutputDir() + "/bin" + pydll, SDK["PYTHON"] + pydll)
for fn in glob.glob(SDK["PYTHON"] + "/vcruntime*.dll"):
CopyFile(GetOutputDir() + "/bin/", fn)
if not RTDIST:
CopyTree(GetOutputDir() + "/python", SDK["PYTHON"])
if not os.path.isfile(SDK["PYTHON"] + "/ppython.exe") and os.path.isfile(SDK["PYTHON"] + "/python.exe"):