From 8db2ba06fef10f38f90b0f3213dd39ec07678e2f Mon Sep 17 00:00:00 2001 From: Bernd Schubert <bernd.schubert@fastmail.fm> Date: Mon, 20 Jun 2022 14:58:12 +0200 Subject: [PATCH] Increase meson min version and avoid get_pkgconfig_variable warning (#682) meson was complaining: Build targets in project: 27 NOTICE: Future-deprecated features used: * 0.56.0: {'Dependency.get_pkgconfig_variable'} So change to .get_variable(pkgconfig : 'type' and also increase the meson minimal version to be able to handle it. Co-authored-by: Bernd Schubert <bschubert@ddn.com> --- meson.build | 2 +- util/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 342dee1..f7ebe01 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('libfuse3', ['c'], version: '3.11.0', - meson_version: '>= 0.42', + meson_version: '>= 0.51', default_options: [ 'buildtype=debugoptimized', 'cpp_std=c++11', diff --git a/util/meson.build b/util/meson.build index 577668f..bdbd11c 100644 --- a/util/meson.build +++ b/util/meson.build @@ -17,7 +17,7 @@ executable('mount.fuse3', ['mount.fuse.c'], udevrulesdir = get_option('udevrulesdir') if udevrulesdir == '' udev = dependency('udev') - udevrulesdir = join_paths(udev.get_pkgconfig_variable('udevdir'), 'rules.d') + udevrulesdir = join_paths(udev.get_variable(pkgconfig : 'udevdir'), 'rules.d') endif meson.add_install_script('install_helper.sh', -- 2.30.2