with dir with space regression again

This commit is contained in:
Araq 2017-01-28 23:16:44 +01:00
commit 904654b9ec

View file

@ -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: