Fixes #3871
This commit is contained in:
parent
06bd5a61a4
commit
b293e2a9ec
3 changed files with 13 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue