diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-07-21 10:17:18 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-07-22 14:44:47 +0200 |
commit | 670b35919301213e45ef42ed689f6ea67004d714 (patch) | |
tree | e11b66e16a7c4033d10460af41d16f3171072112 /hw/usb | |
parent | f288d9932c29e8e24f1cbecd95e3539fbca5b90a (diff) | |
download | qemu-670b35919301213e45ef42ed689f6ea67004d714.zip qemu-670b35919301213e45ef42ed689f6ea67004d714.tar.gz qemu-670b35919301213e45ef42ed689f6ea67004d714.tar.bz2 |
usb: fix usb-host dependency check
Fixes: 90540f3289 ("configure, meson: convert libusb detection to meson", 2021-06-25)
Reported-by: Programmingkid <programmingkidx@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20210721081718.301343-1-kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r-- | hw/usb/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/meson.build b/hw/usb/meson.build index 3ca6127..de853d7 100644 --- a/hw/usb/meson.build +++ b/hw/usb/meson.build @@ -72,7 +72,7 @@ if usbredir.found() endif # usb pass-through -if config_host.has_key('CONFIG_USB_LIBUSB') +if libusb.found() usbhost_ss = ss.source_set() usbhost_ss.add(when: ['CONFIG_USB', libusb], if_true: files('host-libusb.c')) |