[NetworkManager-libreswan/lr/gtk-4.0: 3/10] build: specify maximum glib version




commit 91f0155f7b0d08023ab07fa4175e9d556e3f13f5
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 3bbe10f..87fed24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -122,6 +122,7 @@ AM_GLIB_GNU_GETTEXT
 
 PKG_CHECK_MODULES(GLIB, gio-unix-2.0 >= 2.36)
 GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36"
+GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36"
 
 PKG_CHECK_MODULES(LIBNL, libnl-3.0 >= 3.2.8)
 


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