diff options
Diffstat (limited to 'rod/extccomp.nim')
-rwxr-xr-x | rod/extccomp.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rod/extccomp.nim b/rod/extccomp.nim index a565bee72..8d70bf16d 100755 --- a/rod/extccomp.nim +++ b/rod/extccomp.nim @@ -375,7 +375,7 @@ proc getCompileCFileCmd(cfilename: string, isExternal: bool = false): string = compilePattern = cc[c].compilerExe if targetOS == platform.hostOS: cfile = cfilename else: cfile = extractFileName(cfilename) - if not isExternal or (targetOS != platform.hostOS): objfile = toObjFile(cfile) + if not isExternal or targetOS != platform.hostOS: objfile = toObjFile(cfile) else: objfile = completeCFilePath(toObjFile(cfile)) cfile = quoteIfContainsWhite(AddFileExt(cfile, cExt)) objfile = quoteIfContainsWhite(objfile) |