mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builder: make msvc build if v path contains spaces (#8552)
This commit is contained in:
parent
48892a52fa
commit
5eef730290
@ -297,7 +297,7 @@ pub fn (mut v Builder) cc_msvc() {
|
||||
os.write_file(out_name_cmd_line, args) or {
|
||||
verror('Unable to write response file to "$out_name_cmd_line"')
|
||||
}
|
||||
cmd := '"$r.full_cl_exe_path" @$out_name_cmd_line'
|
||||
cmd := '"$r.full_cl_exe_path" "@$out_name_cmd_line"'
|
||||
// It is hard to see it at first, but the quotes above ARE balanced :-| ...
|
||||
// Also the double quotes at the start ARE needed.
|
||||
v.show_cc(cmd, out_name_cmd_line, args)
|
||||
|
Loading…
Reference in New Issue
Block a user