diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-02-16 19:42:05 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-02-16 19:42:05 +0100 |
commit | 2e3c403d2b4c2f39f6cf692586feafc67d5663ef (patch) | |
tree | 532e16fd02680e9acb94786be6014fab78b31845 /compiler/extccomp.nim | |
parent | a3054d7ee26b469762060699cf9e51f764b51dd7 (diff) | |
parent | b293e2a9ec18fbcbf83719abcd9a7e0a757fa753 (diff) | |
download | Nim-2e3c403d2b4c2f39f6cf692586feafc67d5663ef.tar.gz |
Merge pull request #3873 from yglukhov/path-handling
Fixes #3871
Diffstat (limited to 'compiler/extccomp.nim')
-rw-r--r-- | compiler/extccomp.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 3882bdd03..16a8b8bd4 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -731,6 +731,8 @@ proc callCCompiler*(projectfile: string) = builddll = "" if options.outFile.len > 0: exefile = options.outFile.expandTilde + if not exefile.isAbsolute(): + exefile = getCurrentDir() / exefile if not noAbsolutePaths(): if not exefile.isAbsolute(): exefile = joinPath(splitFile(projectfile).dir, exefile) |