From 6f129a97dee1b6612aa719fdab2c94d78a49ecca Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 19 Oct 2022 09:51:24 +0100 Subject: [PATCH] Fix a compile failure when compiling without efiboot Fixes https://github.com/fwupd/fwupd/issues/5171 --- plugins/lenovo-thinklmi/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/lenovo-thinklmi/meson.build b/plugins/lenovo-thinklmi/meson.build index 387fb5939..9aafe7b72 100644 --- a/plugins/lenovo-thinklmi/meson.build +++ b/plugins/lenovo-thinklmi/meson.build @@ -15,7 +15,7 @@ plugin_builtin_lenovo_thinklmi = static_library('fu_plugin_lenovo_thinklmi', ) plugin_builtins += plugin_builtin_lenovo_thinklmi -if get_option('tests') +if get_option('tests') and efiboot.found() and efivar.found() env = environment() env.set('G_TEST_SRCDIR', meson.current_source_dir()) env.set('G_TEST_BUILDDIR', meson.current_build_dir())