meson: avoid compiling qemu-keymap by default
commit9755c94a50c8b845ad133a6e660f55ca131b9c7a
authorLaurent Vivier <laurent@vivier.eu>
Mon, 24 Aug 2020 15:24:30 +0000 (24 17:24 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 25 Aug 2020 06:12:19 +0000 (25 08:12 +0200)
tree953fe0c6e70b847cede8dfefee705a16ca38232c
parent4113f4cfeea57774d492af48aec97a043d82a32e
meson: avoid compiling qemu-keymap by default

qemu-keymap is not needed with linux-user, so disable it by default if
tools and system 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 <laurent@vivier.eu>
Message-id: 20200824152430.1844159-3-laurent@vivier.eu
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
meson.build