trivial: only build powerd on new enough glib

snap has an older glib and the plugin fails to compile.
This commit is contained in:
Mario Limonciello 2021-07-30 20:01:13 -05:00
parent f11abafed7
commit 143efb9d88

View File

@ -1,4 +1,4 @@
if host_machine.system() == 'linux'
if host_machine.system() == 'linux' and gio.version().version_compare('>=2.58')
cargs = ['-DG_LOG_DOMAIN="FuPluginPowerd"']
shared_module('fu_plugin_powerd',