diff options
-rw-r--r-- | compiler/extccomp.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index ad9c38904..d61594cba 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -548,7 +548,7 @@ proc getCompileCFileCmd*(cfilename: string, isExternal = false): string = completeCFilePath(toObjFile(cfile)) objfile = quoteShell(objfile) result = quoteShell(compilePattern % [ - "file", cfile, "objfile", objfile, "options", options, + "file", quoteShell(cfile), "objfile", quoteShell(objfile), "options", options, "include", includeCmd, "nimrod", getPrefixDir(), "nim", getPrefixDir(), "lib", libpath]) add(result, ' ') @@ -717,4 +717,3 @@ proc writeMapping*(gSymbolMapping: PRope) = appf(code, "\n[Symbols]$n$1", [gSymbolMapping]) writeRope(code, joinPath(gProjectPath, "mapping.txt")) - |