Fix #13633
This commit is contained in:
parent
bbc231f8e0
commit
d84c4bba9b
1 changed files with 2 additions and 1 deletions
|
|
@ -998,10 +998,11 @@ proc writeJsonBuildInstructions*(conf: ConfigRef) =
|
||||||
f.write escapeJson(x)
|
f.write escapeJson(x)
|
||||||
|
|
||||||
proc cfiles(conf: ConfigRef; f: File; buf: var string; clist: CfileList, isExternal: bool) =
|
proc cfiles(conf: ConfigRef; f: File; buf: var string; clist: CfileList, isExternal: bool) =
|
||||||
|
var comma = false
|
||||||
for i, it in clist:
|
for i, it in clist:
|
||||||
if CfileFlag.Cached in it.flags: continue
|
if CfileFlag.Cached in it.flags: continue
|
||||||
let compileCmd = getCompileCFileCmd(conf, it)
|
let compileCmd = getCompileCFileCmd(conf, it)
|
||||||
if i > 0: lit ",\L"
|
if comma: lit ",\L"; comma = false
|
||||||
lit "["
|
lit "["
|
||||||
str it.cname.string
|
str it.cname.string
|
||||||
lit ", "
|
lit ", "
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue