diff --git a/meson.build b/meson.build index ec1ab11700..ea65f1502a 100644 --- a/meson.build +++ b/meson.build @@ -945,6 +945,7 @@ foreach pair : [['utmp', 'HAVE_UTMP'], ['rfkill', 'ENABLE_RFKILL'], ['ldconfig', 'ENABLE_LDCONFIG'], ['efi', 'ENABLE_EFI'], + ['ima', 'HAVE_IMA'], ] if get_option(pair[0]) diff --git a/meson_options.txt b/meson_options.txt index 59e38515da..25875ca031 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -165,6 +165,8 @@ option('smack-run-label', type : 'string', description : 'run systemd --system itself with a specific SMACK label') option('polkit', type : 'combo', choices : ['auto', 'yes', 'no'], description : 'PolicyKit support') +option('ima', type : 'boolean', + description : 'IMA support') option('audit', type : 'combo', choices : ['auto', 'yes', 'no'], description : 'libaudit support')