From: Jakov Smolic Date: Wed, 15 Apr 2020 15:53:36 +0000 (+0200) Subject: Add new meson configure option for controlling systemd-analyze support X-Git-Tag: v246-rc1~581^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd0f79523f04ea07575af0cdfc218b16e9010110;p=thirdparty%2Fsystemd.git 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 Signed-off-by: Luka Perkov --- diff --git a/meson.build b/meson.build index bfd708cb4c2..8a9f4d08ed0 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 30cf1477184..5daed215984 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')