mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
Add new meson configure option for controlling systemd-analyze support
Enables building systemd without systemd-analyze, which in return saves approx. 4 MB of space upon installing systemd. Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
This commit is contained in:
parent
3614df0575
commit
dd0f79523f
@ -1714,7 +1714,7 @@ exe = executable('systemd-analyze',
|
|||||||
libmount,
|
libmount,
|
||||||
libblkid],
|
libblkid],
|
||||||
install_rpath : rootlibexecdir,
|
install_rpath : rootlibexecdir,
|
||||||
install : true)
|
install : get_option('analyze'))
|
||||||
public_programs += exe
|
public_programs += exe
|
||||||
|
|
||||||
executable('systemd-journald',
|
executable('systemd-journald',
|
||||||
|
@ -364,3 +364,5 @@ option('llvm-fuzz', type : 'boolean', value : 'false',
|
|||||||
description : 'build against LLVM libFuzzer')
|
description : 'build against LLVM libFuzzer')
|
||||||
option('kernel-install', type: 'boolean', value: 'true',
|
option('kernel-install', type: 'boolean', value: 'true',
|
||||||
description : 'include kernel-install feature')
|
description : 'include kernel-install feature')
|
||||||
|
option('analyze', type: 'boolean', value: 'true',
|
||||||
|
description : 'include systemd-analyze')
|
||||||
|
Loading…
Reference in New Issue
Block a user