[libvirt-glib 2/3] buildsys: Add missing libraries to LDFLAGS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]