aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2024-01-30 12:23:39 +0100
committerYegor Yefremov <yegorslists@googlemail.com>2024-01-30 12:23:39 +0100
commita729a92e1035dcdd13b46331c773f7b06c5b1b18 (patch)
treed9bd8365fc28736d5919b803779d2f32d219af99 /data
parent9f4ee19601a99f5b5d3a6413bfb07cd47f69063d (diff)
build: fix fs.copyfile usage for meson versions 0.64/0.64.1
Though this function was introduced in 0.64, its usage with install_dir was broken till meson version 1.0.0. Hence, bump the minimal required meson version for the fs.copyfile() routine. See the following meson commit for details: https://github.com/mesonbuild/meson/commit/100456de0761ee949e2277c97746cb8571b6ba39
Diffstat (limited to 'data')
-rw-r--r--data/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/meson.build b/data/meson.build
index 1d0c9aeb..89bf68f4 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -11,7 +11,7 @@ service_conf = {
}
# DBus Service file
-if meson_version.version_compare('>=0.64')
+if meson_version.version_compare('>=1.0.0')
fs.copyfile(
'org.freedesktop.ModemManager1.conf.@0@polkit'.format(enable_polkit ? '' : 'no'),
'@BASENAME@',