From d0f7db08287a69e07c4090e28a90a28e9bfa1f0a Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 19 Nov 2013 15:41:20 +0100 Subject: [PATCH] always call the linker; fixes #660 --- compiler/extccomp.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index d7f3386e3f..13eb972f6c 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 = ""