This commit is contained in:
Yuriy Glukhov 2016-02-16 14:12:51 +02:00
commit b293e2a9ec
3 changed files with 13 additions and 1 deletions

View file

@ -731,6 +731,8 @@ proc callCCompiler*(projectfile: string) =
builddll = ""
if options.outFile.len > 0:
exefile = options.outFile.expandTilde
if not exefile.isAbsolute():
exefile = getCurrentDir() / exefile
if not noAbsolutePaths():
if not exefile.isAbsolute():
exefile = joinPath(splitFile(projectfile).dir, exefile)