Without these changes 'make check' would not
run on Ubuntu because of a link failure as
the tests are directly using glib/libvirt
symbols.
---
tests/Makefile.am | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 63865e8..c146817 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -12,7 +12,10 @@ AM_CFLAGS = \
LDADD = \
$(top_builddir)/libvirt-gconfig/libvirt-gconfig-1.0.la \
- $(top_builddir)/libvirt-glib/libvirt-glib-1.0.la
+ $(top_builddir)/libvirt-glib/libvirt-glib-1.0.la \
+ $(LIBVIRT_LIBS) \
+ $(GLIB2_LIBS) \
+ $(GOBJECT2_LIBS)
test_programs = test-gconfig test-events
--
1.9.1