qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] usb: fix usb-host dependency check


From: Paolo Bonzini
Subject: Re: [PATCH] usb: fix usb-host dependency check
Date: Wed, 21 Jul 2021 11:45:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 21/07/21 10:17, Gerd Hoffmann wrote:
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'))


Actually

Fixes: 90540f3289 ("configure, meson: convert libusb detection to meson", 2021-06-25)

Sorry about that.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]