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

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



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


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