Fixes #594
This was already partially fixed, ``expandTilde`` was the missing piece from perfection.
This commit is contained in:
parent
be5e13671c
commit
f622504b5b
1 changed files with 1 additions and 1 deletions
|
|
@ -614,7 +614,7 @@ proc CallCCompiler*(projectfile: string) =
|
||||||
exefile = splitFile(projectFile).name & platform.os[targetOS].exeExt
|
exefile = splitFile(projectFile).name & platform.os[targetOS].exeExt
|
||||||
buildDll = ""
|
buildDll = ""
|
||||||
if options.outFile.len > 0:
|
if options.outFile.len > 0:
|
||||||
exefile = options.outFile
|
exefile = options.outFile.expandTilde
|
||||||
if not noAbsolutePaths():
|
if not noAbsolutePaths():
|
||||||
if not exeFile.isAbsolute():
|
if not exeFile.isAbsolute():
|
||||||
exefile = joinPath(splitFile(projectFile).dir, exefile)
|
exefile = joinPath(splitFile(projectFile).dir, exefile)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue