summaryrefslogtreecommitdiff
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 02f914d6c0..a46a6237be 100644
--- a/chardev/meson.build
+++ b/chardev/meson.build
@@ -36,7 +36,7 @@ softmmu_ss.add(when: ['CONFIG_SPICE', spice], if_true: files('spice.c'))
chardev_modules = {}
-if config_host.has_key('CONFIG_BRLAPI') and config_host.has_key('CONFIG_SDL')
+if config_host.has_key('CONFIG_BRLAPI') and sdl.found()
module_ss = ss.source_set()
module_ss.add(when: [sdl, brlapi], if_true: files('baum.c'))
chardev_modules += { 'brlapi': module_ss }