Fix deprecated udev.get_pkgconfig_variable in meson
authorMatthias Goergens <matthias.goergens@gmail.com>
Fri, 7 Apr 2023 09:13:26 +0000 (17:13 +0800)
committerNikolaus Rath <Nikolaus@rath.org>
Fri, 7 Apr 2023 12:32:35 +0000 (13:32 +0100)
And slightly bump minimum meson version.

meson.build
util/meson.build

index 6aa23c1c2bae61b5a76a292a1ba1ef600ca65a7b..af31690e1e074850d426f5a13f3f856b2af2f006 100644 (file)
@@ -1,5 +1,5 @@
 project('libfuse3', ['c'], version: '3.14.1',
-        meson_version: '>= 0.50',
+        meson_version: '>= 0.51',
         default_options: [
             'buildtype=debugoptimized',
             'cpp_std=c++11',
index 12028d59c768ade4f087f2f2ee56874ef2af5971..a2f3b9d2d23acad652a7b65a185b9eaaf8344097 100644 (file)
@@ -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',