mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-14 16:01:08 +00:00

This allows us to disable it automatically on architectures that aren't supported and OSes that aren't supported. Link: https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1987067
28 lines
518 B
Meson
28 lines
518 B
Meson
if hsi and \
|
|
get_option('plugin_uefi_pk').require(gnutls.found(),
|
|
error_message: 'gnutls is needed for plugin_uefi_pk').allowed()
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginUefiPk"']
|
|
|
|
shared_module('fu_plugin_uefi_pk',
|
|
fu_hash,
|
|
sources: [
|
|
'fu-plugin-uefi-pk.c',
|
|
],
|
|
include_directories: [
|
|
root_incdir,
|
|
fwupd_incdir,
|
|
fwupdplugin_incdir,
|
|
],
|
|
install: true,
|
|
install_dir: plugin_dir,
|
|
link_with: [
|
|
fwupd,
|
|
fwupdplugin,
|
|
],
|
|
c_args: cargs,
|
|
dependencies: [
|
|
plugin_deps,
|
|
],
|
|
)
|
|
endif
|