[NetworkManager-openconnect/lr/gtk-4.0: 4/13] build: specify maximum glib version




commit 444a564873d385972846263233fbe83ece4af5a0
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Thu Nov 4 13:31:16 2021 +0100

    build: specify maximum glib version
    
    ...so that we don't accidentally use newer API.

 configure.ac | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/configure.ac b/configure.ac
index f99c73c..369aaef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,6 +99,7 @@ AM_GLIB_GNU_GETTEXT
 
 PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.32)
 GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_34"
+GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_34"
 
 PKG_CHECK_MODULES(LIBXML, libxml-2.0)
 


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