From 044c7d0921d9563affd77a81321ed4f1c7941fd4 Mon Sep 17 00:00:00 2001 From: Araq Date: Thu, 6 Dec 2018 20:49:55 +0100 Subject: [PATCH] fixes extccomp regressions --- compiler/extccomp.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 6b03f244a1..65a18ce643 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))