[gnome-mines] Target correct GLib version.



commit f3f29cb4ffbf2c637ad44474b23526ee8aa36910
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Feb 16 17:40:00 2015 +0100

    Target correct GLib version.

 configure.ac    |    2 ++
 src/Makefile.am |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f3c5d12..936b0f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,6 +27,8 @@ PKG_CHECK_MODULES(GNOME_MINES, [
   librsvg-2.0 >= $RSVG_REQUIRED
 ])
 
+AC_SUBST([GLIB_REQUIRED])
+
 AC_PATH_PROG([DESKTOP_FILE_VALIDATE], [desktop-file-validate], [/bin/true])
 
 dnl ###########################################################################
diff --git a/src/Makefile.am b/src/Makefile.am
index 667aec9..742d462 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,7 +24,7 @@ gnome_mines_VALAFLAGS = \
        --pkg librsvg-2.0 \
        --pkg pango \
        --pkg pangocairo \
-       --target-glib 2.36
+       --target-glib $(GLIB_REQUIRED)
 
 gnome_mines_LDADD = \
        $(GNOME_MINES_LIBS)


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