[PATCH 1/5] meson: unconditionally enable polkit on non-Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The polkit code does not have a build time dependancy on any system
headers or libraries. It can be safely enabled on any non-Windows
platform.

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 meson.build | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/meson.build b/meson.build
index 5eb3f24181..2ce8fac4a1 100644
--- a/meson.build
+++ b/meson.build
@@ -1433,11 +1433,6 @@ endif
 if not get_option('polkit').disabled()
   polkit_enable = true
 
-  if get_option('polkit').auto()
-    pkcheck_prog = find_program('pkcheck', required: false, dirs: libvirt_sbin_path)
-    polkit_enable = pkcheck_prog.found()
-  endif
-
   if host_machine.system() == 'windows'
     polkit_enable = false
     if get_option('polkit').enabled()
-- 
2.46.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux