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:
+1
-1
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user