summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stubs/Makefile.objs2
1 files changed, 1 insertions, 1 deletions
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs
index f54125de31..c1e43ac68f 100644
--- a/stubs/Makefile.objs
+++ b/stubs/Makefile.objs
@@ -23,7 +23,7 @@ stub-obj-y += sysbus.o
stub-obj-y += tpm.o
stub-obj-y += trace-control.o
stub-obj-y += vmstate.o
-stub-obj-y += win32-kbd-hook.o
+stub-obj-$(CONFIG_SOFTMMU) += win32-kbd-hook.o
#######################################################################
# code used by both qemu system emulation and qemu-img