mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 15:31:28 +00:00
Fixes #594
This was already partially fixed, ``expandTilde`` was the missing piece from perfection.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user