From 81f461a15c4286eb1260d92835765a5c93393076 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt 
Date: Thu, 2 May 2013 15:06:02 +0300
Subject: [PATCH] Placed libraries and the end of the linker cmdline.
---
 src/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
index 735ddb6d6..bb09a80e3 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -76,7 +76,7 @@ define PROG_template
 $$(eval $$(call OBJS_template,$(1)))
 
 ../bin/$(1): $$($(1)_OBJS) ../wrk/common/common.a | ../bin
-	$$(CC) $$(LDFLAGS) $$(LDLIBS) -o $$@ $$^
+	$$(CC) $$(LDFLAGS) -o $$@ $$^ $$(LDLIBS)
 
 $(1): ../bin/$(1)
 
-- 
2.39.5