From f622504b5b093b51f9bb4db77f81f96d096a3f54 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Sat, 28 Dec 2013 12:25:01 +0000 Subject: [PATCH] Fixes #594 This was already partially fixed, ``expandTilde`` was the missing piece from perfection. --- compiler/extccomp.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index d3b3cee757..bbbbbfb8ee 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)