[seed] Fix Bug #623558 - DSO linking against libgthread



commit a228b4e86372d45f03ecd98aec0f9dcec0d5945b
Author: Alan Knowles <alan akkbhome com>
Date:   Wed Sep 22 08:01:45 2010 +0800

    Fix Bug #623558 - DSO linking against libgthread
    
    It appears a few projects don't like implicit DSO linking...

 configure.ac    |    3 +++
 src/Makefile.am |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 22fcdac..e716a1b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -120,6 +120,9 @@ PKG_CHECK_MODULES(GNOME_JS, gnome-js-common)
 GNOME_JS_DIR=`pkg-config --variable=moduledir gnome-js-common`
 AC_SUBST(GNOME_JS_DIR)
 
+dnl ========================GThread============================================
+PKG_CHECK_MODULES(GTHREAD, gthread-2.0)
+
 dnl =============================Modules=======================================
 dnl ==== canvas ====
 AC_ARG_ENABLE(canvas-module,
diff --git a/src/Makefile.am b/src/Makefile.am
index 04ee4c8..d67ba85 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -20,7 +20,8 @@ seed_LDFLAGS = \
 	$(SEED_PROFILE_LIBS) \
 	$(LIBFFI_LDFLAGS) \
 	$(GOBJECT_INTROSPECTION_LDFLAGS) \
-	$(WEBKIT_LDFLAGS)
+	$(WEBKIT_LDFLAGS) \
+	$(GTHREAD_LIBS)
 
 seed_LDADD = \
 	../libseed/libseed.la



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