--- loudmouth/Makefile.am.orig	2009-04-13 11:12:02.000000000 +0200
+++ loudmouth/Makefile.am	2009-04-13 11:16:02.000000000 +0200
@@ -21,7 +21,7 @@
 
 test_dns_SOURCES = test-dns.c
 
-test_dns_LDADD = $(LOUDMOUTH_LIBS) $(top_builddir)/loudmouth/libloudmouth-1.la
+test_dns_LDADD = $(LOUDMOUTHTEST_LIBS) libloudmouth-1.la
 
 lib_LTLIBRARIES = libloudmouth-1.la
 
