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: I0ae94b17ccfe82c1fbc3e4e0602b0a6ecd21762d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/bmc/side-switch/meson.build b/bmc/side-switch/meson.build
index e04a456..9e44852 100644
--- a/bmc/side-switch/meson.build
+++ b/bmc/side-switch/meson.build
@@ -10,7 +10,7 @@
)
systemd_system_unit_dir = dependency('systemd').get_variable(
- 'systemdsystemunitdir',
+ 'systemd_system_unit_dir',
pkgconfig_define: ['prefix', get_option('prefix')],
)
diff --git a/bmc/usb/meson.build b/bmc/usb/meson.build
index c531fab..386c943 100644
--- a/bmc/usb/meson.build
+++ b/bmc/usb/meson.build
@@ -24,7 +24,7 @@
)
systemd_system_unit_dir = dependency('systemd').get_variable(
- 'systemdsystemunitdir',
+ 'systemd_system_unit_dir',
pkgconfig_define: ['prefix', get_option('prefix')],
)
udev_dir = dependency('udev').get_variable(