[PATCH v1] use libexecdir as location for qemu-bridge-helper

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

 



The current logic in meson.build assumes a fixed runtime path for
qemu-bridge-helper in case this binary is not available during build.
Since qemu-bridge-helper is not used during build it is not required to
have it installed at build time.

It is likely that both qemu and libvirt are built with the same
--libexecdir option. So use this as the expected location for
qemu-bridge-helper.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index c2a2f306c1..6ca05e2f69 100644
--- a/meson.build
+++ b/meson.build
@@ -1653,7 +1653,7 @@ if not get_option('driver_qemu').disabled()
     if qemu_bridge_prog.found()
       qemu_bridge_path = qemu_bridge_prog.full_path()
     else
-      qemu_bridge_path = '/usr/libexec/qemu-bridge-helper'
+      qemu_bridge_path = libexecdir / 'qemu-bridge-helper'
     endif
     conf.set_quoted('QEMU_BRIDGE_HELPER', qemu_bridge_path)
 




[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