--- rio500-0.7/src/Makefile.am.orig	2009-01-19 15:23:50.001056143 +0100
+++ rio500-0.7/src/Makefile.am	2009-01-19 15:24:02.394059698 +0100
@@ -15,7 +15,7 @@
 
 CFLAGS = $(FLAGS1) $(FLAGS2) $(FLAGS3)
 
-LDADD = -L../lib @GLIB_LIBS@ -lrio500 $(EFENCE_LIB)
+LDADD = -L../lib -lrio500 @GLIB_LIBS@ $(EFENCE_LIB)
 
 GETOPT_SOURCES = getopt.c getopt1.c