Skip to content
Snippets Groups Projects
Commit 3e23fff9 authored by wangfan's avatar wangfan Committed by Victor Toso
Browse files

usb-device-manager: Set UsbDk backend on libusb 1.0.22

In libusb 1.0.21, UsbDk is enabled at compile time with --enable-usbdk
option. In libusb 1.0.22, the backend is selected at runtime.

This patch avoids a crash when spice client is compiled against libusb
1.0.22 and UsbDk is not installed.

* Enabling dynamic backend selection in Windows
https://github.com/libusb/libusb/commit/54884e84d024e761450287ab56aca

#74


Signed-off-by: default avatarVictor Toso <victortoso@redhat.com>
Acked-by: default avatarChristophe Fergeau <cfergeau@redhat.com>
parent b18cb68e
No related merge requests found
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment