diff options
-rw-r--r-- | compiler/extccomp.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index d3b3cee75..bbbbbfb8e 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -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) |