hidapi: look for the unsuffixed libhidapi.so
FreeBSD's comms/hidapi installs the library as libhidapi.so / libhidapi.so.0, without a backend suffix. None of the existing candidate names match it, so LoadLibrary exhausts the list and the module raises ImportError at import time, making Solaar unusable there.
This commit is contained in:
parent
8a941c5553
commit
b7fbca06e0
|
|
@ -60,6 +60,8 @@ _library_paths = (
|
|||
"libhidapi-hidraw.so.0",
|
||||
"libhidapi-libusb.so",
|
||||
"libhidapi-libusb.so.0",
|
||||
"libhidapi.so",
|
||||
"libhidapi.so.0",
|
||||
"libhidapi-iohidmanager.so",
|
||||
"libhidapi-iohidmanager.so.0",
|
||||
"libhidapi.dylib",
|
||||
|
|
|
|||
Loading…
Reference in New Issue