summary refs log tree commit diff stats
path: root/rod/extccomp.nim
diff options
context:
space:
mode:
Diffstat (limited to 'rod/extccomp.nim')
-rwxr-xr-xrod/extccomp.nim2
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)