summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2013-12-28 12:25:01 +0000
committerDominik Picheta <dominikpicheta@googlemail.com>2013-12-28 12:25:01 +0000
commitf622504b5b093b51f9bb4db77f81f96d096a3f54 (patch)
tree51ba56d0f02a4660cdfeb6118d3abc96ca8fcc43
parentbe5e13671cdd923953d7b1b2137f06673fe7bb96 (diff)
downloadNim-f622504b5b093b51f9bb4db77f81f96d096a3f54.tar.gz
Fixes #594
This was already partially fixed, ``expandTilde`` was the missing piece
from perfection.
-rw-r--r--compiler/extccomp.nim2
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)