--- src/import-export/ofx/test/Makefile.am~	2011-02-26 20:07:06.000000000 +0100
+++ src/import-export/ofx/test/Makefile.am	2011-03-06 14:39:04.000000000 +0100
@@ -5,6 +5,7 @@
 
 test_link_SOURCES=test-link.c
 test_link_LDADD=\
+	$(top_builddir)/src/libqof/qof/libgnc-qof.la \
         $(top_builddir)/src/app-utils/libgncmod-app-utils.la \
 	${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
     ../libgncmod-ofx.la 
--- src/import-export/test/Makefile.am~	2011-02-26 20:07:06.000000000 +0100
+++ src/import-export/test/Makefile.am	2011-03-06 14:41:12.000000000 +0100
@@ -10,14 +10,14 @@
   ${GLIB_CFLAGS}
 
 LDADD = \
+  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
+  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
   ${top_builddir}/src/gnc-module/libgnc-module.la \
   ${top_builddir}/src/test-core/libtest-core.la \
   ../libgncmod-generic-import.la \
-  $(top_builddir)/src/core-utils/libgnc-core-utils.la \
   $(top_builddir)/src/app-utils/libgncmod-app-utils.la \
   ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
   ${top_builddir}/src/engine/libgncmod-engine.la \
-  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${GLIB_LIBS}
 
 TESTS = \
--- src/register/ledger-core/test/Makefile.am~	2011-02-26 20:07:04.000000000 +0100
+++ src/register/ledger-core/test/Makefile.am	2011-03-06 14:42:25.000000000 +0100
@@ -4,6 +4,7 @@
 
 test_link_module_SOURCES=test-link-module.c
 test_link_module_LDADD=\
+	$(top_builddir)/src/libqof/qof/libgnc-qof.la \
         $(top_builddir)/src/app-utils/libgncmod-app-utils.la \
 	${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
     ../libgncmod-ledger-core.la
