diff --git a/meson.build b/meson.build index bfd708cb4c..8a9f4d08ed 100644 --- a/meson.build +++ b/meson.build @@ -1714,7 +1714,7 @@ exe = executable('systemd-analyze', libmount, libblkid], install_rpath : rootlibexecdir, - install : true) + install : get_option('analyze')) public_programs += exe executable('systemd-journald', diff --git a/meson_options.txt b/meson_options.txt index 30cf147718..5daed21598 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -364,3 +364,5 @@ option('llvm-fuzz', type : 'boolean', value : 'false', description : 'build against LLVM libFuzzer') option('kernel-install', type: 'boolean', value: 'true', description : 'include kernel-install feature') +option('analyze', type: 'boolean', value: 'true', + description : 'include systemd-analyze')