mirror of https://gitlab.com/ita1024/waf.git
Tools: msvc: fix regression in msvc MT tool call (issue #1357)
Yeah, env['MT'] is a list.
This commit is contained in:
parent
e07529ad89
commit
8a9b3825a2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue