diff options
-rw-r--r-- | compiler/extccomp.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index d61594cba..bc888315f 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -332,7 +332,6 @@ const ucc(), icl()] -const hExt* = ".h" var @@ -547,8 +546,9 @@ proc getCompileCFileCmd*(cfilename: string, isExternal = false): string = else: completeCFilePath(toObjFile(cfile)) objfile = quoteShell(objfile) + cfile = quoteShell(cfile) result = quoteShell(compilePattern % [ - "file", quoteShell(cfile), "objfile", quoteShell(objfile), "options", options, + "file", cfile, "objfile", objfile, "options", options, "include", includeCmd, "nimrod", getPrefixDir(), "nim", getPrefixDir(), "lib", libpath]) add(result, ' ') |