* [Qemu-devel] [PATCH] configure: disable qemu-keymap for linux-user qemu
@ 2017-10-19 19:16 Laurent Vivier
0 siblings, 0 replies; only message in thread
From: Laurent Vivier @ 2017-10-19 19:16 UTC (permalink / raw)
To: qemu-devel; +Cc: Gerd Hoffmann, Peter Maydell, Laurent Vivier
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>
---
configure | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 6f21aaf989..03547cea6a 100755
--- a/configure
+++ b/configure
@@ -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
--
2.13.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-19 19:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-19 19:16 [Qemu-devel] [PATCH] configure: disable qemu-keymap for linux-user qemu Laurent Vivier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).