Skip to content
Snippets Groups Projects
Commit 670b3591 authored by Gerd Hoffmann's avatar Gerd Hoffmann Committed by Paolo Bonzini
Browse files

usb: fix usb-host dependency check


Fixes: 90540f32 ("configure, meson: convert libusb detection to meson", 2021-06-25)
Reported-by: default avatarProgrammingkid <programmingkidx@gmail.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Message-Id: <20210721081718.301343-1-kraxel@redhat.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent f288d993
No related branches found
No related tags found
No related merge requests found
......@@ -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'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment