| Index: pylib/gyp/win_tool.py
|
| diff --git a/pylib/gyp/win_tool.py b/pylib/gyp/win_tool.py
|
| index bb6f1ea436f258aabdfa4843eee4ef301883c0ff..05a7b781979091d12882145497cfaf9f79b570d9 100755
|
| --- a/pylib/gyp/win_tool.py
|
| +++ b/pylib/gyp/win_tool.py
|
| @@ -116,11 +116,10 @@ class WinTool(object):
|
| env = self._GetEnv(arch)
|
| if use_separate_mspdbsrv == 'True':
|
| self._UseSeparateMspdbsrv(env, args)
|
| - link = subprocess.Popen([args[0].replace('/', '\\')] + list(args[1:]),
|
| - shell=True,
|
| - env=env,
|
| - stdout=subprocess.PIPE,
|
| - stderr=subprocess.STDOUT)
|
| + if sys.platform == 'win32':
|
| + args[0] = args[0].replace('/', '\\')
|
| + link = subprocess.Popen(args, shell=True, env=env,
|
| + stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
| out, _ = link.communicate()
|
| for line in out.splitlines():
|
| if (not line.startswith(' Creating library ') and
|
|
|