From d630f72b8112b4ec7ff6340b9969df0d6d201cd9 Mon Sep 17 00:00:00 2001 From: Varriount Date: Sat, 17 Jan 2015 20:17:36 -0500 Subject: [PATCH] Fixes #1955 --- compiler/extccomp.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index d61594cba2..bc888315ff 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, ' ')