Work around faulty vcvarsall.bat scripts #2315

This commit is contained in:
Thomas Nagy 2021-01-29 23:46:05 +01:00
parent 9ace152810
commit 816d5bc48b
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ echo PATH=%%PATH%%
echo INCLUDE=%%INCLUDE%%
echo LIB=%%LIB%%;%%LIBPATH%%
""" % (vcvars,target))
sout = conf.cmd_and_log(['cmd.exe', '/E:on', '/V:on', '/C', batfile.abspath()])
sout = conf.cmd_and_log(['cmd.exe', '/E:on', '/V:on', '/C', batfile.abspath()], stdin=getattr(Utils.subprocess, 'DEVNULL', None))
lines = sout.splitlines()
if not lines[0]: