[swell-foop] Target correct GLib version.



commit f49a994f0edca70c38e43f31f7612abae8115e90
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Feb 16 17:54:58 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 478e08c..674ed71 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,6 +30,8 @@ PKG_CHECK_MODULES(SWELL_FOOP, [
   clutter-gtk-1.0 >= $CLUTTER_GTK_REQUIRED
 ])
 
+AC_SUBST([GLIB_REQUIRED])
+
 AC_CHECK_LIB([m],[floor])
 
 AC_PATH_PROG([DESKTOP_FILE_VALIDATE], [desktop-file-validate], [/bin/true])
diff --git a/src/Makefile.am b/src/Makefile.am
index c9b04ed..7f6f29c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,7 +12,7 @@ swell_foop_VALAFLAGS = \
        --pkg posix \
        --pkg gmodule-2.0 \
        --pkg clutter-gtk-1.0 \
-       --target-glib 2.36
+       --target-glib $(GLIB_REQUIRED)
 
 swell_foop_CFLAGS = \
        -w \


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