mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-26 20:01:13 +01:00
Issue 1329 C# response file flag quoting issues
This commit is contained in:
parent
3f78d2223a
commit
5ea64b56ac
@ -161,7 +161,7 @@ class mcs(Task.Task):
|
||||
if flag.find(' ') > -1:
|
||||
for x in ('/r:', '/reference:', '/resource:', '/lib:', '/out:'):
|
||||
if flag.startswith(x):
|
||||
flag = '%s"%s"' % (x, flag[len(x):])
|
||||
flag = '%s"%s"' % (x, '","'.join(flag[len(x):].split(',')))
|
||||
break
|
||||
else:
|
||||
flag = '"%s"' % flag
|
||||
|
Loading…
Reference in New Issue
Block a user