[gnome-chess] Compile with --target-glib=$(GLIB_REQUIRED)



commit 620625ecca175f741291a127f0b092ec693e606f
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Aug 17 15:28:36 2014 -0500

    Compile with --target-glib=$(GLIB_REQUIRED)

 configure.ac    |    2 ++
 lib/Makefile.am |    3 ++-
 src/Makefile.am |    1 +
 3 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 773a6e1..29280a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,8 @@ GLIB_REQUIRED=2.40
 GTK_REQUIRED=3.13.2
 RSVG_REQUIRED=2.32.0
 
+AC_SUBST([GLIB_REQUIRED])
+
 PKG_CHECK_MODULES(GNOME_CHESS, [
   glib-2.0 >= $GLIB_REQUIRED
   gio-2.0 >= $GLIB_REQUIRED
diff --git a/lib/Makefile.am b/lib/Makefile.am
index a7cb111..f13e358 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -24,7 +24,8 @@ libchess_la_VALAFLAGS = \
        --pkg gio-2.0 \
        --pkg posix \
        --header=libchess.h \
-       --vapi=libchess.vapi
+       --vapi=libchess.vapi \
+       --target-glib=$(GLIB_REQUIRED)
 
 EXTRA_DIST = \
        libchess.h \
diff --git a/src/Makefile.am b/src/Makefile.am
index 19b025e..d761630 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -35,6 +35,7 @@ gnome_chess_VALAFLAGS = \
        --pkg gtk+-3.0 \
        --pkg librsvg-2.0 \
        --pkg posix \
+       --target-glib=$(GLIB_REQUIRED) \
        $(top_builddir)/lib/libchess.vapi
 
 CLEANFILES = \


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