[gtk+/gtk-2-24] build: Add gmodule-2.0 dependency for gtk-query-immodules-2.0



commit 26b749440bb61c59f79d8be93ddf7bc529085c3e
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-2.0

 configure.in    |    2 ++
 gtk/Makefile.am |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 1f81bf1..9577c54 100644
--- a/configure.in
+++ b/configure.in
@@ -392,6 +392,8 @@ fi
 PKG_CHECK_MODULES(CAIRO_BACKEND,
   [cairo-$cairo_backend >= cairo_required_version])
 
+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 15343df..cf3edd6 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1076,7 +1076,7 @@ gtk-update-icon-cache.exe.manifest:
 endif
 
 gtk_query_immodules_2_0_DEPENDENCIES = $(DEPS)
-gtk_query_immodules_2_0_LDADD = $(LDADDS)
+gtk_query_immodules_2_0_LDADD = $(LDADDS) $(GMODULE_LIBS)
 gtk_query_immodules_2_0_SOURCES = queryimmodules.c
 
 gtk_update_icon_cache_LDADD = $(GDK_PIXBUF_LIBS)



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