summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-01-28 23:16:44 +0100
committerAraq <rumpf_a@web.de>2017-01-29 00:32:25 +0100
commit904654b9ecbc32c7a2ec945be95fec783e75db33 (patch)
tree1afe9a79d647a8b4f417478cdfcd0a602f6247b6
parent64cc026cedb21565ac8095c4a38650c2f3fdd1cc (diff)
downloadNim-904654b9ecbc32c7a2ec945be95fec783e75db33.tar.gz
with dir with space regression again
-rw-r--r--compiler/extccomp.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim
index 02028cf72..8ca34223b 100644
--- a/compiler/extccomp.nim
+++ b/compiler/extccomp.nim
@@ -782,7 +782,7 @@ proc callCCompiler*(projectfile: string) =
       it = PStrEntry(it.next)
     for x in toCompile:
       add(objfiles, ' ')
-      add(objfiles, x.obj)
+      add(objfiles, quoteShell(x.obj))
 
     linkCmd = getLinkCmd(projectfile, objfiles)
     if optCompileOnly notin gGlobalOptions: