usb: fix usb-host dependency check
PATCH 1/1 usb: fix usb-host dependency check
Fixes 627302afb2f8 ("usb: build usb-host as module")
Reported-by Programmingkid <[email protected]>
Signed-off-by Gerd Hoffmann <[email protected]>
--- hw/usb/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/usb/meson.build +1 -1
@@ -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'))
Signature · 1 line
2.31.1
Quoted 6 lines · Gerd Hoffmann
Fixes 627302afb2f8 ("usb: build usb-host as module")Reported-by Programmingkid <[email protected]>Signed-off-by Gerd Hoffmann <[email protected]>--- hw/usb/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 13 lines · Gerd Hoffmann
Fixes 627302afb2f8 ("usb: build usb-host as module")Reported-by Programmingkid <[email protected]>Signed-off-by Gerd Hoffmann <[email protected]>--- hw/usb/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/usb/meson.build +0
-0
hw/usb/meson.build if usbredir.found() · line 78
Quoted 8 lines
hw/usb/meson.build +1
-1@@ -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'))
Actually
Fixes 90540f3289 ("configure, meson: convert libusb detection to meson", 2021-06-25)
Sorry about that.
Paolo