diff --git a/src/sysprofd/meson.build b/src/sysprofd/meson.build index 719d3af9..40e0138b 100644 --- a/src/sysprofd/meson.build +++ b/src/sysprofd/meson.build @@ -36,7 +36,7 @@ sysprofdconf.set('sysprofdprivdir', pkglibexecdir) systemdunitdir = get_option('systemdunitdir') if systemdunitdir == '' - systemdunitdir = dependency('systemd').get_pkgconfig_variable('systemdsystemunitdir') + systemdunitdir = dependency('systemd').get_variable(pkgconfig: 'systemdsystemunitdir') endif #