diff --git a/waflib/Tools/msvc.py b/waflib/Tools/msvc.py index 04c72df9..5bfc5011 100644 --- a/waflib/Tools/msvc.py +++ b/waflib/Tools/msvc.py @@ -875,7 +875,7 @@ def exec_response_command(self, cmd, **kw): program = cmd[0] #unquoted program name, otherwise exec_command will fail cmd = [self.quote_response_command(x) for x in cmd] (fd, tmp) = tempfile.mkstemp() - os.write(fd, ' '.join(i.replace('\\', '\\\\') for i in cmd[1:]).encode()) + os.write(fd, '\r\n'.join(i.replace('\\', '\\\\') for i in cmd[1:]).encode()) os.close(fd) cmd = [program, '@' + tmp] # no return here, that's on purpose