mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
configure, meson: convert libusb detection to meson
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
05e391ae40
commit
90540f3289
4 changed files with 14 additions and 28 deletions
|
@ -72,7 +72,7 @@ if config_host.has_key('CONFIG_USB_REDIR')
|
|||
endif
|
||||
|
||||
# usb pass-through
|
||||
softmmu_ss.add(when: ['CONFIG_USB', 'CONFIG_USB_LIBUSB', libusb],
|
||||
softmmu_ss.add(when: ['CONFIG_USB', libusb],
|
||||
if_true: files('host-libusb.c'),
|
||||
if_false: files('host-stub.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_ALL', if_true: files('host-stub.c'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue