This was already partially fixed, ``expandTilde`` was the missing piece
from perfection.
This commit is contained in:
Dominik Picheta
2013-12-28 12:25:01 +00:00
parent be5e13671c
commit f622504b5b

View File

@@ -614,7 +614,7 @@ proc CallCCompiler*(projectfile: string) =
exefile = splitFile(projectFile).name & platform.os[targetOS].exeExt
buildDll = ""
if options.outFile.len > 0:
exefile = options.outFile
exefile = options.outFile.expandTilde
if not noAbsolutePaths():
if not exeFile.isAbsolute():
exefile = joinPath(splitFile(projectFile).dir, exefile)