mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-30 21:42:06 -06:00
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>
This commit is contained in:
parent
f288d9932c
commit
670b359193
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ if usbredir.found()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# usb pass-through
|
# usb pass-through
|
||||||
if config_host.has_key('CONFIG_USB_LIBUSB')
|
if libusb.found()
|
||||||
usbhost_ss = ss.source_set()
|
usbhost_ss = ss.source_set()
|
||||||
usbhost_ss.add(when: ['CONFIG_USB', libusb],
|
usbhost_ss.add(when: ['CONFIG_USB', libusb],
|
||||||
if_true: files('host-libusb.c'))
|
if_true: files('host-libusb.c'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue