Skip to content

Commit

Permalink
fix: use old systemd pkgconfig variable names
Browse files Browse the repository at this point in the history
Use the old systemd pkgconfig variable names for systemunitdir and
userunitdir. This supports systemd back to at least 239.

Signed-off-by: Link Dupont <link@sub-pop.net>
  • Loading branch information
subpop authored and ahitacat committed May 22, 2023
1 parent ce2c9b5 commit e1d7bf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions data/systemd/meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
systemd_system_unit_dir = systemd.get_variable(pkgconfig: 'systemd_system_unit_dir')
systemd_user_unit_dir = systemd.get_variable(pkgconfig: 'systemd_user_unit_dir')
systemd_system_unit_dir = systemd.get_variable(pkgconfig: 'systemdsystemunitdir')
systemd_user_unit_dir = systemd.get_variable(pkgconfig: 'systemduserunitdir')

yggdrasil_service = configure_file(
configuration: config_data,
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project('yggdrasil',
go = find_program('go')

dbus = dependency('dbus-1', version: '>=1.12')
systemd = dependency('systemd')
systemd = dependency('systemd', version: '>=239')
bash_completion = dependency('bash-completion')

if get_option('vendor')
Expand Down

0 comments on commit e1d7bf2

Please sign in to comment.