Am Thu, 19 Nov 2020 22:15:27 +0100 schrieb Martin Kletzander <[email protected]>:
> Libvirt needs to be able to handle that missing binary at runtime anyway
It also needs to handle an existing binary. Just how is it supposed to handle
it?
Right now with meson it is either a full path, or just the name in case it was
missing at build time (I have not checked if the launcher actually consults
$PATH).
Anyway, what would be the desired approach to tell libvirt the runtime path?
I was thinking about something like:
option('runtime_path_exe', type: 'string', value: 'exe', description:
'runtime path of exe')
runtime_path_exe = get_option('runtime_path_exe')
if not get_option('runtime_path_exe').enabled()
runtime_path_exe = find_program(runtime_path_exe, required: true).path()
conf.set_quoted('EXE', runtime_path_exe)
Olaf
pgpQ2aW536nf4.pgp
Description: Digitale Signatur von OpenPGP
