Skip to content

Commit

Permalink
configure: disable qemu-keymap for linux-user qemu
Browse files Browse the repository at this point in the history
We don't need qemu-keymap when we build only linux-user qemu.

When we compile in static mode, the libxkbcommon is detected
by configure if the shared one is available, but cannot
be linked if the static version is not available.

As we don't need it for qemu-linux-user, and we generally need
a static link to use it in a chroot, disable qemu-keymap in
this case.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-id: 20171019191606.14129-1-laurent@vivier.eu
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
  • Loading branch information
vivier authored and kraxel committed Oct 23, 2017
1 parent e822e81 commit ff69fd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure
Expand Up @@ -5136,9 +5136,9 @@ if test "$softmmu" = yes ; then
fi
mpath=no
fi
fi
if test "$xkbcommon" = "yes"; then
tools="qemu-keymap\$(EXESUF) $tools"
if test "$xkbcommon" = "yes"; then
tools="qemu-keymap\$(EXESUF) $tools"
fi
fi

# Probe for guest agent support/options
Expand Down

0 comments on commit ff69fd8

Please sign in to comment.