summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteev Klimaszewski <[email protected]>2012-08-19 05:22:58 -0500
committerSteev Klimaszewski <[email protected]>2012-08-19 05:22:58 -0500
commit2ba4ecfb8113e2d22c47d401eef2a231cb1c7648 (patch)
tree8356d559d56d89fc5dd1132be04fa00e649a4fc6
parentefc5777e49c0c80c744c48b1334c9c16f9f264a6 (diff)
downloadatril-2ba4ecfb8113e2d22c47d401eef2a231cb1c7648.tar.bz2
atril-2ba4ecfb8113e2d22c47d401eef2a231cb1c7648.tar.xz
Add gmodule check for libdocument
With glib 2.32 gmodule libraries have to be speficied to be linked. This is most noticable with the gold linker. Signed-off-by: Steev Klimaszewski <[email protected]>
-rw-r--r--configure.ac1
-rw-r--r--libdocument/Makefile.am1
2 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 621e2959..ab808986 100644
--- a/configure.ac
+++ b/configure.ac
@@ -169,6 +169,7 @@ PKG_CHECK_MODULES(LIBDOCUMENT, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >=
PKG_CHECK_MODULES(LIBVIEW, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gail$GAIL_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED)
PKG_CHECK_MODULES(BACKEND, cairo >= $CAIRO_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED)
PKG_CHECK_MODULES(FRONTEND_CORE, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED)
+PKG_CHECK_MODULES(GMODULE, gmodule-2.0 >= $GLIB_REQUIRED)
SHELL_PLATFORM_PKGS=
case "$with_platform" in
diff --git a/libdocument/Makefile.am b/libdocument/Makefile.am
index cf8c555e..b53fce16 100644
--- a/libdocument/Makefile.am
+++ b/libdocument/Makefile.am
@@ -114,6 +114,7 @@ libatrildocument_la_LDFLAGS = \
libatrildocument_la_LIBADD = \
$(LIBDOCUMENT_LIBS) \
+ $(GMODULE_LIBS) \
$(top_builddir)/cut-n-paste/synctex/libsynctex.la