meson: move declaration of systemctl
This commit is contained in:
@@ -48,6 +48,30 @@ else
|
||||
libbasic_gcrypt]
|
||||
endif
|
||||
|
||||
executables += [
|
||||
executable_template + {
|
||||
'name' : 'systemctl',
|
||||
'public' : true,
|
||||
'sources' : systemctl_sources,
|
||||
'link_with' : systemctl_link_with,
|
||||
'dependencies' : [
|
||||
libcap,
|
||||
liblz4,
|
||||
libselinux,
|
||||
libxz,
|
||||
libzstd,
|
||||
threads,
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
foreach alias : (['halt', 'poweroff', 'reboot', 'shutdown'] +
|
||||
(conf.get('HAVE_SYSV_COMPAT') == 1 ? ['runlevel', 'telinit'] : []))
|
||||
meson.add_install_script(meson_make_symlink,
|
||||
bindir / 'systemctl',
|
||||
sbindir / alias)
|
||||
endforeach
|
||||
|
||||
fuzzers += [
|
||||
{
|
||||
'sources' : [
|
||||
|
||||
Reference in New Issue
Block a user