Re: [PATCH] configure: avoid compiling qemu-keymap by default

2020-08-23 Thread Paolo Bonzini
Hi Laurent, there are two ways to do this in Meson without having to add more special casing in configure. The simplest is to build qemu-keymap by default only if have_tools. This is a one-liner adding the "build_by_default: have_tools" argument. The second is to move the detection of xkbcommon t

[PATCH] configure: avoid compiling qemu-keymap by default

2020-08-23 Thread Laurent Vivier
qemu-keymap is not needed with linux-user, so disable it by default if tools are disabled (tools are disabled by default with linux-user). Avoid this error with statically linked binaries: Linking target qemu-keymap /usr/bin/ld: cannot find -lxkbcommon Signed-off-by: Laurent Vivier ---