--- Makefile.am~	2011-12-09 16:24:10.288550210 +1100
+++ Makefile.am	2011-12-11 02:15:05.719695884 +1100
@@ -103,15 +103,15 @@
 
 noinst_PROGRAMS = test-client test-agent test-deviceselection test-plugins test-class
 
-test_client_LDADD = libgnome-bluetooth.la $(GTK_LIBS)
+test_client_LDADD = libgnome-bluetooth.la $(COMMON_LIBS)
 
-test_agent_LDADD = libgnome-bluetooth.la
+test_agent_LDADD = libgnome-bluetooth.la $(COMMON_LIBS)
 
-test_deviceselection_LDADD = libgnome-bluetooth.la
+test_deviceselection_LDADD = libgnome-bluetooth.la $(COMMON_LIBS)
 
-test_plugins_LDADD = libgnome-bluetooth.la
+test_plugins_LDADD = libgnome-bluetooth.la $(COMMON_LIBS)
 
-test_class_LDADD = libgnome-bluetooth.la
+test_class_LDADD = libgnome-bluetooth.la $(COMMON_LIBS)
 
 EXTRA_DIST += bluetooth-client.xml gnome-bluetooth.symbols
 
