meson: use non-deprecated systemd packageconfig
Systemd's packageconfig file has both `systemdsystemunitdir` and
`systemd_system_unit_dir` defined. The non-underscore one appears
to be a deprecated alias[1]. Move to the non-deprecated /
underscore-separated variant.
[1]: https://github.com/systemd/systemd/commit/4908de44b0a0409f84a7cdc5641b114d6ce8ba03
Change-Id: Iabc3f96e3fa00bd7b524eaceed44f3b55145e140
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index 0f8d6e6..354c947 100644
--- a/meson.build
+++ b/meson.build
@@ -22,7 +22,7 @@
# install systemd unit template file
systemd = dependency('systemd')
systemd_system_unit_dir = systemd.get_variable(
- 'systemdsystemunitdir',
+ 'systemd_system_unit_dir',
pkgconfig_define: ['prefix', get_option('prefix')],
)
configure_file(