aboutsummaryrefslogtreecommitdiff
path: root/chardev
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-02-06 14:17:15 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-21 06:30:44 -0400
commit35be72ba729d0fcd85c929597edb692c1d0f3bdc (patch)
tree3e726ed1a4c5cbcc2fad995fee6c5dcc64163b48 /chardev
parentffac93df19d33387645376c32a4a789d204e6fcd (diff)
meson: move SDL and SDL-image detection to meson
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'chardev')
-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 }