trivial: Fix build error on build=standalone and polkit=true

This fixes error introduced by 11b71f4978
This commit is contained in:
Daniel Campello 2020-10-15 13:46:17 -06:00 committed by Daniel Campello
parent 1c62adec69
commit edab096c64

View File

@ -11,7 +11,7 @@ daemon_dep = []
if get_option('systemd')
systemd_src += 'fu-systemd.c'
endif
if get_option('polkit')
if build_daemon and get_option('polkit')
client_src += 'fu-polkit-agent.c'
daemon_dep += polkit
endif