summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-12-06 20:49:55 +0100
committerAraq <rumpf_a@web.de>2018-12-11 21:23:23 +0100
commit044c7d0921d9563affd77a81321ed4f1c7941fd4 (patch)
tree0e267ac1970394d849e1692c424b915bf16be204 /compiler
parent1946d1a61d83bd387c6392a56bebf0a902db3198 (diff)
downloadNim-044c7d0921d9563affd77a81321ed4f1c7941fd4.tar.gz
fixes extccomp regressions
Diffstat (limited to 'compiler')
-rw-r--r--compiler/extccomp.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim
index 6b03f244a..65a18ce64 100644
--- a/compiler/extccomp.nim
+++ b/compiler/extccomp.nim
@@ -683,8 +683,8 @@ proc getLinkCmd(conf: ConfigRef; projectfile: AbsoluteFile, objfiles: string; ba
       builddll = ""
     if not conf.outFile.isEmpty:
       exefile = conf.outFile.string.expandTilde
-      if not exefile.isAbsolute():
-        exefile = base.string / exefile
+    if not exefile.isAbsolute():
+      exefile = base.string / exefile
     if not noAbsolutePaths(conf):
       if not exefile.isAbsolute():
         exefile = string(splitFile(projectfile).dir / RelativeFile(exefile))