[gupnp/wip/hadess/backport-guri: 2/3] Pin the required glib version




commit 4f5c122ebc9a97421b8e896ac077ef950a40f0c3
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jun 2 12:16:17 2021 +0200

    Pin the required glib version
    
    Now that all the sources import a config.h, set the maximum version of
    glib to be used to the currently minimum required one.

 meson.build | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/meson.build b/meson.build
index 7de5b33..857773f 100644
--- a/meson.build
+++ b/meson.build
@@ -23,6 +23,9 @@ wireless_test ='''#include <sys/socket.h>
 conf.set('HAVE_LINUX_WIRELESS_H',
          cc.compiles(wireless_test, name : 'linux/wireless.h availability'))
 
+conf.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_44')
+conf.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_44')
+
 config_h = configure_file(output : 'config.h', configuration : conf)
 add_global_arguments('-DHAVE_CONFIG_H=1', language : 'c')
 


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