diff options
author | Araq <rumpf_a@web.de> | 2018-12-06 21:39:27 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-12-11 21:23:24 +0100 |
commit | 77272ceb3c31b4ca3b1e2e9109e4b2bcddbae8b5 (patch) | |
tree | ce8225de6a33db44eca94e4a5c86e27d78c1b972 /compiler | |
parent | 044c7d0921d9563affd77a81321ed4f1c7941fd4 (diff) | |
download | Nim-77272ceb3c31b4ca3b1e2e9109e4b2bcddbae8b5.tar.gz |
fixes extccomp regressions
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/extccomp.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 65a18ce64..7b7af0d86 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -683,11 +683,11 @@ 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 noAbsolutePaths(conf): if not exefile.isAbsolute(): exefile = string(splitFile(projectfile).dir / RelativeFile(exefile)) + if not exefile.isAbsolute(): + exefile = base.string / exefile when false: if optCDebug in conf.globalOptions: writeDebugInfo(exefile.changeFileExt("ndb")) |