Fixes #1955
This commit is contained in:
parent
78b5779d93
commit
d630f72b81
1 changed files with 2 additions and 2 deletions
|
|
@ -332,7 +332,6 @@ const
|
||||||
ucc(),
|
ucc(),
|
||||||
icl()]
|
icl()]
|
||||||
|
|
||||||
const
|
|
||||||
hExt* = ".h"
|
hExt* = ".h"
|
||||||
|
|
||||||
var
|
var
|
||||||
|
|
@ -547,8 +546,9 @@ proc getCompileCFileCmd*(cfilename: string, isExternal = false): string =
|
||||||
else:
|
else:
|
||||||
completeCFilePath(toObjFile(cfile))
|
completeCFilePath(toObjFile(cfile))
|
||||||
objfile = quoteShell(objfile)
|
objfile = quoteShell(objfile)
|
||||||
|
cfile = quoteShell(cfile)
|
||||||
result = quoteShell(compilePattern % [
|
result = quoteShell(compilePattern % [
|
||||||
"file", quoteShell(cfile), "objfile", quoteShell(objfile), "options", options,
|
"file", cfile, "objfile", objfile, "options", options,
|
||||||
"include", includeCmd, "nimrod", getPrefixDir(),
|
"include", includeCmd, "nimrod", getPrefixDir(),
|
||||||
"nim", getPrefixDir(), "lib", libpath])
|
"nim", getPrefixDir(), "lib", libpath])
|
||||||
add(result, ' ')
|
add(result, ' ')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue