summaryrefslogtreecommitdiffstats
path: root/chardev/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'chardev/meson.build')
-rw-r--r--chardev/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/chardev/meson.build b/chardev/meson.build
index 32377af383..325ba2bdb9 100644
--- a/chardev/meson.build
+++ b/chardev/meson.build
@@ -35,7 +35,7 @@ if brlapi.found()
chardev_modules += { 'baum': module_ss }
endif
-if config_host.has_key('CONFIG_SPICE')
+if spice.found()
module_ss = ss.source_set()
module_ss.add(when: [spice], if_true: files('spice.c'))
chardev_modules += { 'spice': module_ss }