kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 9184257d97708c7ad4ed7e2179d887a35701c0bb
parent 280cd6791e98f2c8c00d9aa45161b77bf58f89ff
Author: Joris Vink <joris@coders.se>
Date:   Wed, 19 Nov 2014 14:20:31 +0100

Properly order linker arguments.

Fixes broken linkages with LDFLAGS on certain platforms see #23.

Diffstat:
src/cli.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/cli.c b/src/cli.c @@ -898,12 +898,12 @@ cli_link_library(void *arg) args[idx++] = "-shared"; #endif - for (i = 0; i < f; i++) - args[idx++] = flags[i]; - TAILQ_FOREACH(cf, &source_files, list) args[idx++] = cf->opath; + for (i = 0; i < f; i++) + args[idx++] = flags[i]; + args[idx++] = "-o"; args[idx++] = libname; args[idx] = NULL;