diff options
author | Araq <rumpf_a@web.de> | 2013-11-19 15:41:20 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-11-19 15:41:20 +0100 |
commit | d0f7db08287a69e07c4090e28a90a28e9bfa1f0a (patch) | |
tree | 4ba070b656817d1d2338c7139237ae0b6c36caef | |
parent | cd1f96d421931f2eb359afe5f0e03312a2481971 (diff) | |
download | Nim-d0f7db08287a69e07c4090e28a90a28e9bfa1f0a.tar.gz |
always call the linker; fixes #660
-rw-r--r-- | compiler/extccomp.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index d7f3386e3..13eb972f6 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -583,7 +583,7 @@ proc CallCCompiler*(projectfile: string) = else: rawMessage(errGenerated, " execution of an external program failed; " & "rerun with --parallelBuild:1 to see the error message") - if optNoLinking notin gGlobalOptions and cmds.len > 0: + if optNoLinking notin gGlobalOptions: # call the linker: var it = PStrEntry(toLink.head) var objfiles = "" |