[gupnp/wip/hadess/enforce-min-glib-version-devel: 2/3] Pin the required glib version
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp/wip/hadess/enforce-min-glib-version-devel: 2/3] Pin the required glib version
- Date: Wed, 2 Jun 2021 11:30:36 +0000 (UTC)
commit 6eed43fbab7e5aad2ae4d7e63b412add180ed9af
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 b395086..aba8c93 100644
--- a/meson.build
+++ b/meson.build
@@ -13,6 +13,9 @@ conf.set('HAVE_NETLINK', netlink_available)
conf.set('HAVE_IFADDRS_H', ifaddrs_available)
conf.set('HAVE_LINUX_WIRELESS_H', cc.has_header('linux/wireless.h'))
+conf.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_58')
+conf.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_58')
+
config_h = configure_file(output : 'config.h', configuration : conf)
add_project_arguments('-DHAVE_CONFIG_H=1', language : 'c')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]