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: I12446c284e4f86cbbf501fdca75d1c7a248e6c35
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index ca46b2d..6c4e314 100644
--- a/meson.build
+++ b/meson.build
@@ -45,5 +45,5 @@
output: 'phosphor-ecc.service',
configuration: conf_data,
install: true,
- install_dir: systemd.get_variable('systemdsystemunitdir'),
+ install_dir: systemd.get_variable('systemd_system_unit_dir'),
)