]> git.ipfire.org Git - thirdparty/libvirt.git/commit
access: fix po_check when polkit is disabled
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 9 Jan 2025 10:30:07 +0000 (10:30 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 13 Jan 2025 09:35:16 +0000 (09:35 +0000)
commit9ab2cd48ea11ebddbcdf65039a208d880efd848a
treee407dd1cbf5ad870481251bdd3adb2ea23020b37
parent7a903458f1105f0cb377833bb367303d63e8aeb0
access: fix po_check when polkit is disabled

The generated org.libvirt.api.policy.in file was recently added to the
POTFILES list as it contains translatable messages.

It is only generated when WITH_POLKIT && WITH_LIBVIRTD is satisfied
though, resulting in the 'po_check' syntax rule failing if either of
those conditions are not met.

It is harmless to unconditionally generate this file, as a separate
rule takes care of of installing it, and the latter remains under
the build conditions.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/access/meson.build