[librsvg] gtk-engine: Link against GModule
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] gtk-engine: Link against GModule
- Date: Tue, 27 Mar 2012 22:16:41 +0000 (UTC)
commit 6eac8e0d6dba40a46942018d4bac56d1c6e29afc
Author: Robert Ancell <robert ancell canonical com>
Date: Tue Mar 27 14:55:47 2012 +1100
gtk-engine: Link against GModule
https://bugzilla.gnome.org/show_bug.cgi?id=672885
configure.in | 2 ++
gtk-engine/Makefile.am | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/configure.in b/configure.in
index b5af76c..005aff4 100644
--- a/configure.in
+++ b/configure.in
@@ -109,6 +109,8 @@ PKG_CHECK_MODULES(LIBRSVG, \
PKG_CHECK_MODULES([GTHREAD],[gthread-2.0 >= $GLIB_REQUIRED])
+PKG_CHECK_MODULES([GMODULE],[gmodule-2.0])
+
dnl ===========================================================================
AC_CHECK_FUNCS(strtok_r)
diff --git a/gtk-engine/Makefile.am b/gtk-engine/Makefile.am
index 4668f24..6cf1a10 100644
--- a/gtk-engine/Makefile.am
+++ b/gtk-engine/Makefile.am
@@ -26,6 +26,7 @@ libsvg_la_CPPFLAGS = \
libsvg_la_CFLAGS = \
$(GTK2_CFLAGS) \
+ $(GMODULE_CFLAGS) \
$(LIBRSVG_CFLAGS) \
$(LIBCROCO_CFLAGS) \
$(AM_CFLAGS)
@@ -34,6 +35,7 @@ libsvg_la_LDFLAGS = -avoid-version -module $(AM_LDFLAGS)
libsvg_la_LIBADD = \
$(top_builddir)/librsvg- RSVG_API_MAJOR_VERSION@.la \
$(GTK2_LIBS) \
+ $(GMODULE_LIBS) \
$(LIBRSVG_LIBS) \
$(LIBCROCO_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]