[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] usb: fix usb-host dependency check
|
From: |
Gerd Hoffmann |
|
Subject: |
[PATCH] usb: fix usb-host dependency check |
|
Date: |
Wed, 21 Jul 2021 10:17:18 +0200 |
Fixes: 627302afb2f8 ("usb: build usb-host as module")
Reported-by: Programmingkid <programmingkidx@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/usb/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/usb/meson.build b/hw/usb/meson.build
index 3ca61279374d..de853d780dd8 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'))
--
2.31.1
- [PATCH] usb: fix usb-host dependency check,
Gerd Hoffmann <=