From 92b621ab8a07a77b12029f4d2b05084bbf72aa79 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Thu, 25 Feb 2021 14:10:30 +0200 Subject: [PATCH] systemd: use the older version of the systemd pkgconfig variables For compatibility with older versions of systemd --- src/systemd/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systemd/meson.build b/src/systemd/meson.build index b02158f7..aeeb6c68 100644 --- a/src/systemd/meson.build +++ b/src/systemd/meson.build @@ -7,7 +7,7 @@ if systemd.found() # system service if get_option('systemd-system-service') systemd_system_unit_dir = systemd.get_pkgconfig_variable( - 'systemd_system_unit_dir', + 'systemdsystemunitdir', define_variable : ['prefix', get_option('prefix')]) if get_option('systemd-system-unit-dir') != '' @@ -20,7 +20,7 @@ if systemd.found() # user service if get_option('systemd-user-service') systemd_user_unit_dir = systemd.get_pkgconfig_variable( - 'systemd_user_unit_dir', + 'systemduserunitdir', define_variable : ['prefix', get_option('prefix')]) if get_option('systemd-user-unit-dir') != ''