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: I29bef4a69a900d7872e3a3501412933926e385ad
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index 90c9d23..e7983ea 100644
--- a/meson.build
+++ b/meson.build
@@ -103,6 +103,6 @@
subdir('vpd-manager')
systemd_system_unit_dir = dependency('systemd').get_variable(
- 'systemdsystemunitdir',
+ 'systemd_system_unit_dir',
)
install_data(services, install_dir: systemd_system_unit_dir)