fwupd/plugins/powerd/meson.build
Mario Limonciello 143efb9d88 trivial: only build powerd on new enough glib
snap has an older glib and the plugin fails to compile.
2021-07-30 20:25:46 -05:00

27 lines
469 B
Meson

if host_machine.system() == 'linux' and gio.version().version_compare('>=2.58')
cargs = ['-DG_LOG_DOMAIN="FuPluginPowerd"']
shared_module('fu_plugin_powerd',
fu_hash,
sources : [
'fu-plugin-powerd.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