Tools: msvc: fix regression in msvc MT tool call (issue #1357)

Yeah, env['MT'] is a list.
This commit is contained in:
Jérôme Carretero 2013-09-12 18:50:06 -04:00
parent e07529ad89
commit 8a9b3825a2
1 changed files with 2 additions and 4 deletions

View File

@ -926,14 +926,12 @@ def exec_mf(self):
debug('msvc: embedding manifest in mode %r' % mode)
lst = []
lst.append(env['MT'])
lst = [] + mtool
lst.extend(Utils.to_list(env['MTFLAGS']))
lst.extend(['-manifest', manifest])
lst.append('-outputresource:%s;%s' % (outfile, mode))
lst = [lst]
return self.exec_command(*lst)
return self.exec_command(lst)
def quote_response_command(self, flag):
if flag.find(' ') > -1: