This commit is contained in:
Varriount 2015-01-17 20:17:36 -05:00
commit d630f72b81

View file

@ -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, ' ')