[brasero] Specifically link against gthread-2.0 the two libraries and brasero as they call g_thread_init ()



commit 479de06b8697b7da22bb691ca05c5715f610a514
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Sun Sep 13 13:30:11 2009 +0200

    Specifically link against gthread-2.0 the two libraries and brasero as they call g_thread_init ()

 configure.in                 |    8 ++++++++
 libbrasero-burn/Makefile.am  |    1 +
 libbrasero-media/Makefile.am |    1 +
 src/Makefile.am              |    1 +
 4 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/configure.in b/configure.in
index 92f88cf..9b44389 100644
--- a/configure.in
+++ b/configure.in
@@ -130,6 +130,7 @@ AC_SYS_LARGEFILE
 
 dnl ********** Required libraries **********************
 GLIB_REQUIRED=2.15.6
+GTHREAD_REQUIRED=2.6.0
 GMODULE_REQUIRED=2.6.0
 GIO_REQUIRED=2.15.5
 GDK_REQUIRED=2.6.0
@@ -176,6 +177,13 @@ PKG_CHECK_MODULES(BRASERO_LIBUNIQUE, 	\
 AC_SUBST(BRASERO_LIBUNIQUE_CFLAGS)
 AC_SUBST(BRASERO_LIBUNIQUE_LIBS)
 
+dnl ** used by brasero and both libraries
+PKG_CHECK_MODULES(BRASERO_GTHREAD, 		\
+	gthread-2.0 >= $GTHREAD_REQUIRED)
+
+AC_SUBST(BRASERO_GTHREAD_CFLAGS)
+AC_SUBST(BRASERO_GTHREAD_LIBS)
+
 dnl ** used by brasero and all modules
 PKG_CHECK_MODULES(BRASERO_GLIB, 		\
 	gobject-2.0 >= $GLIB_REQUIRED		\
diff --git a/libbrasero-burn/Makefile.am b/libbrasero-burn/Makefile.am
index c20016b..868ea53 100644
--- a/libbrasero-burn/Makefile.am
+++ b/libbrasero-burn/Makefile.am
@@ -61,6 +61,7 @@ libbrasero_burn_la_LIBADD =					\
 	../libbrasero-media/libbrasero-media.la			\
 	../libbrasero-utils/libbrasero-utils.la			\
 	$(BRASERO_GLIB_LIBS)					\
+	$(BRASERO_GTHREAD_LIBS)				\
 	$(BRASERO_GMODULE_LIBS)					\
 	$(BRASERO_GIO_LIBS)					\
 	$(BRASERO_GCONF_LIBS)					\
diff --git a/libbrasero-media/Makefile.am b/libbrasero-media/Makefile.am
index 6201849..193b29e 100644
--- a/libbrasero-media/Makefile.am
+++ b/libbrasero-media/Makefile.am
@@ -37,6 +37,7 @@ libbraseromediainclude_HEADERS =	\
 
 libbrasero_media_la_LIBADD =					\
 	$(BRASERO_GLIB_LIBS)					\
+	$(BRASERO_GTHREAD_LIBS)				\
 	$(BRASERO_GIO_LIBS)					\
 	$(BRASERO_GTK_LIBS)					\
 	$(BRASERO_SCSI_LIBS)
diff --git a/src/Makefile.am b/src/Makefile.am
index 58f0568..80baeab 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -130,6 +130,7 @@ brasero_LDADD =						\
 	$(top_builddir)/libbrasero-burn/libbrasero-burn.la	\
 	$(top_builddir)/libbrasero-utils/libbrasero-utils.la	\
 	$(BRASERO_GLIB_LIBS)		\
+	$(BRASERO_GTHREAD_LIBS)				\
 	$(BRASERO_GIO_LIBS)		\
 	$(BRASERO_GCONF_LIBS)		\
 	$(BRASERO_GSTREAMER_LIBS)	\



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