mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 13:02:18 +00:00
Fix a compile failure when compiling without efiboot
Fixes https://github.com/fwupd/fwupd/issues/5171
This commit is contained in:
parent
21dfea650b
commit
6f129a97de
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user