[anjuta-extras] scintilla: Link to gmodule to fix build against glib >= 2.31
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta-extras] scintilla: Link to gmodule to fix build against glib >= 2.31
- Date: Wed, 21 Dec 2011 18:57:05 +0000 (UTC)
commit 82521478d509323c4d7abdd7b7fe16c49a0650a4
Author: Vincent Untz <vuntz gnome org>
Date: Wed Dec 21 15:44:05 2011 +0100
scintilla: Link to gmodule to fix build against glib >= 2.31
https://bugzilla.gnome.org/show_bug.cgi?id=666656
configure.ac | 3 +++
plugins/scintilla/scintilla/Makefile.am | 4 +++-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e148ee9..be6ba6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -91,6 +91,9 @@ PKG_CHECK_MODULES(LIBANJUTA, [libanjuta-3.0 >= $ANJUTA_REQUIRED])
dnl check for gthread
PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= $GLIB_REQUIRED)
+dnl check for gthread
+PKG_CHECK_MODULES(GMODULE, gmodule-2.0 >= $GLIB_REQUIRED)
+
dnl Scintilla Editor
dnl -------------------------------------------------------------
diff --git a/plugins/scintilla/scintilla/Makefile.am b/plugins/scintilla/scintilla/Makefile.am
index 700f2c0..e21ea41 100644
--- a/plugins/scintilla/scintilla/Makefile.am
+++ b/plugins/scintilla/scintilla/Makefile.am
@@ -8,6 +8,7 @@ AM_CPPFLAGS = \
-I$(srcdir)/include \
$(LIBANJUTA_CFLAGS) \
$(GTHREAD_CFLAGS) \
+ $(GMODULE_CFLAGS) \
-DGTK -DSCI_LEXER -DUSE_XIM
AM_CXXFLAGS = -DGTK -DSCI_LEXER -DUSE_XIM
@@ -89,7 +90,8 @@ libanjuta_scintilla_la_SOURCES =\
libanjuta_scintilla_la_LIBADD = \
$(LIBANJUTA_LIBS) \
- $(GTHREAD_LIBS)
+ $(GTHREAD_LIBS) \
+ $(GMODULE_LIBS)
noinst_PROGRAMS = test-scintilla
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]