Revert "Increase meson min version and avoid get_pkgconfig_variable warning (#682)"
authorNikolaus Rath <Nikolaus@rath.org>
Sat, 2 Jul 2022 13:39:32 +0000 (14:39 +0100)
committerNikolaus Rath <Nikolaus@rath.org>
Sat, 2 Jul 2022 13:39:32 +0000 (14:39 +0100)
This reverts commit 8db2ba06fef10f38f90b0f3213dd39ec07678e2f. This Meson version is not
yet generally available, so we do not want to depend on it..

meson.build
util/meson.build

index f7ebe0114799a1c77c5db9f4884623e2360dcadc..342dee1c1e37cfec5043ba050bcd6ff3e0a95ec8 100644 (file)
@@ -1,5 +1,5 @@
 project('libfuse3', ['c'], version: '3.11.0',
-        meson_version: '>= 0.51',
+        meson_version: '>= 0.42',
         default_options: [
             'buildtype=debugoptimized',
             'cpp_std=c++11',
index bdbd11cdccf2110232e67177f9bede0991b80bec..577668fd5800e8b0511097d49f2ea0bfdfc1a96f 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_variable(pkgconfig : 'udevdir'), 'rules.d')
+  udevrulesdir = join_paths(udev.get_pkgconfig_variable('udevdir'), 'rules.d')
 endif
 
 meson.add_install_script('install_helper.sh',