meson: properly conditionalize polkit installation

... including pkla installation on Debian.

v2:
- fix polkit-gobject-1 pkgconfig name
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-04-23 21:47:28 -04:00
parent b710072da4
commit 3ca0cb7363
10 changed files with 33 additions and 10 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ if conf.get('ENABLE_MACHINED', 0) == 1
input : 'org.freedesktop.machine1.policy.in',
output : 'org.freedesktop.machine1.policy',
command : intltool_command,
install : true,
install : install_polkit,
install_dir : polkitpolicydir)
endif