diff --git a/configure.ac b/configure.ac index bbc4cf8705..ffaeb4cda3 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 231902f119..85c3b71f88 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