From 78ec16820129fa0ab6b1b81621129881be807b2f Mon Sep 17 00:00:00 2001
From: Anders Wallin <anders.e.e.wallin@gmail.com>
Date: Tue, 13 Nov 2012 22:44:12 +0200
Subject: [PATCH] modify link order to make it build on quantal

---
 src/hal/classicladder/Submakefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hal/classicladder/Submakefile b/src/hal/classicladder/Submakefile
index e645859..fc38165 100644
--- a/src/hal/classicladder/Submakefile
+++ b/src/hal/classicladder/Submakefile
@@ -46,7 +46,7 @@ USERSRCS += $(CLASSICLADDERSRCS)
 
 ../bin/classicladder: $(call TOOBJS, $(CLASSICLADDERSRCS)) ../lib/liblinuxcnchal.so.0
 	$(ECHO) Linking $(notdir $@)
-	@$(CC) $(LDFLAGS) $(CFLAGS) $(ULFLAGS) -lpthread -o $@ $^ $(GTK_LIBS)
+	@$(CC) $(LDFLAGS) $(CFLAGS) $(ULFLAGS) -o $@ $^ -lpthread $(GTK_LIBS)
 
 TARGETS += ../bin/classicladder
 endif
-- 
1.7.10.4

