Description: Add $(GLIB_LIBS) to test_qof_LDADD
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=642284

--- gnucash-2.4.2.orig/src/libqof/qof/test/Makefile.in
+++ gnucash-2.4.2/src/libqof/qof/test/Makefile.in
@@ -369,7 +369,7 @@ test_qof_HEADERSS = \
 
 #The tests might require more libraries, but try to keep them
 #as independent as possible.
-test_qof_LDADD = ${top_builddir}/${MODULEPATH}/libgnc-qof.la
+test_qof_LDADD = ${top_builddir}/${MODULEPATH}/libgnc-qof.la $(GLIB_LIBS)
 test_qof_CFLAGS = \
 	${DEFAULT_INCLUDES} \
 	-I$(top_srcdir)/${MODULEPATH}/ \
--- gnucash-2.4.2.orig/src/libqof/qof/test/Makefile.am
+++ gnucash-2.4.2/src/libqof/qof/test/Makefile.am
@@ -25,7 +25,7 @@ noinst_PROGRAMS = ${TEST_PROGS}
 
 #The tests might require more libraries, but try to keep them
 #as independent as possible.
-test_qof_LDADD = ${top_builddir}/${MODULEPATH}/libgnc-qof.la
+test_qof_LDADD = ${top_builddir}/${MODULEPATH}/libgnc-qof.la $(GLIB_LIBS)
 
 test_qof_CFLAGS = \
 	${DEFAULT_INCLUDES} \
