瀏覽代碼

configure: disable qemu-keymap for linux-user qemu

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>
Laurent Vivier 7 年之前
父節點
當前提交
ff69fd8cbf
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      configure

+ 3 - 3
configure

@@ -5136,9 +5136,9 @@ if test "$softmmu" = yes ; then
     fi
     fi
     mpath=no
     mpath=no
   fi
   fi
-fi
-if test "$xkbcommon" = "yes"; then
-  tools="qemu-keymap\$(EXESUF) $tools"
+  if test "$xkbcommon" = "yes"; then
+    tools="qemu-keymap\$(EXESUF) $tools"
+  fi
 fi
 fi
 
 
 # Probe for guest agent support/options
 # Probe for guest agent support/options