[gtk+] build: Add gmodule-2.0 dependency for gtk-query-immodules-3.0



commit b72b4e79cf3fa0be1f26482f24afd55c88f845dc
Author: Florian MÃllner <fmuellner gnome org>
Date:   Thu Nov 24 16:31:47 2011 +0100

    build: Add gmodule-2.0 dependency for gtk-query-immodules-3.0

 configure.ac    |    2 ++
 gtk/Makefile.am |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bbc4cf8..ffaeb4c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -495,6 +495,8 @@ PKG_CHECK_MODULES(BASE_DEPENDENCIES,
 
 PKG_CHECK_MODULES(CAIRO_BACKEND, [$cairo_backends])
 
+PKG_CHECK_MODULES(GMODULE, [gmodule-2.0])
+
 if test "$os_win32" != yes; then
     # libtool option to control which symbols are exported
     # right now, symbols starting with _ are not exported
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 231902f..85c3b71 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1120,7 +1120,7 @@ endif
 endif
 
 gtk_query_immodules_3_0_DEPENDENCIES = $(DEPS)
-gtk_query_immodules_3_0_LDADD = $(LDADDS)
+gtk_query_immodules_3_0_LDADD = $(LDADDS) $(GMODULE_LIBS)
 gtk_query_immodules_3_0_SOURCES = queryimmodules.c
 
 if BUILD_ICON_CACHE



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