[libvirt-glib 2/5] Link libvirt-gobject with gthread

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

 



It uses GMutex so it needs to be linked with gthread
---
 libvirt-gobject/Makefile.am |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/libvirt-gobject/Makefile.am b/libvirt-gobject/Makefile.am
index ec7b454..59d9b2d 100644
--- a/libvirt-gobject/Makefile.am
+++ b/libvirt-gobject/Makefile.am
@@ -64,15 +64,17 @@ libvirt_gobject_1_0_la_CFLAGS = \
 			-DLIBVIRT_GOBJECT_BUILD \
 			$(COVERAGE_CFLAGS) \
 			-I$(top_srcdir) \
-			$(LIBVIRT_CFLAGS) \
-			$(GOBJECT2_CFLAGS) \
 			$(GIO2_CFLAGS) \
+			$(GOBJECT2_CFLAGS) \
+			$(GTHREAD2_CFLAGS) \
+			$(LIBVIRT_CFLAGS) \
 			$(LIBXML2_CFLAGS) \
 			$(WARN_CFLAGS)
 libvirt_gobject_1_0_la_LIBADD = \
-			$(LIBVIRT_LIBS) \
-			$(GOBJECT2_LIBS) \
 			$(GIO2_LIBS) \
+			$(GOBJECT2_LIBS) \
+			$(GTHREAD2_LIBS) \
+			$(LIBVIRT_LIBS) \
 			../libvirt-glib/libvirt-glib-1.0.la \
 			../libvirt-gconfig/libvirt-gconfig-1.0.la \
 			$(CYGWIN_EXTRA_LIBADD)
-- 
1.7.7.3

--
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]