summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2022-10-10 23:55:51 +0200
committerJens Georg <mail@jensge.org>2022-10-10 23:55:51 +0200
commit2a9c4f3e3f8e305b617c89d229dda6eceb9bf1ec (patch)
tree6bb2b42a086ce4d0de3b280e43d4f67b4596d1f4
parentf05648e240c99be32911fb0c6de84e5954470e56 (diff)
downloadgupnp-2a9c4f3e3f8e305b617c89d229dda6eceb9bf1ec.tar.gz
build: Fix GLib version checks
Remove hack to use warnings with glib development versions
-rw-r--r--meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 3383b73..f33ca7d 100644
--- a/meson.build
+++ b/meson.build
@@ -22,10 +22,10 @@ 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'))
-glib_version = '2.69'
+glib_version = '2.70'
add_project_arguments(cc.get_supported_arguments('-Werror=deprecated-declarations'), language: 'c')
-conf.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_70'.format(glib_version.underscorify()))
-conf.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_70'.format(glib_version.underscorify()))
+conf.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_@0@'.format(glib_version.underscorify()))
+conf.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_@0@'.format(glib_version.underscorify()))
subdir('internal')