summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/streamcontroller-streamdeck/hardcode-libusb.patch
blob: 6ef87025655f755716d9d52f1ea2b147f175c908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/StreamDeck/Transport/LibUSBHIDAPI.py b/src/StreamDeck/Transport/LibUSBHIDAPI.py
index edf53a1..2d38af3 100644
--- a/src/StreamDeck/Transport/LibUSBHIDAPI.py
+++ b/src/StreamDeck/Transport/LibUSBHIDAPI.py
@@ -155,7 +155,7 @@ class LibUSBHIDAPI(Transport):
 
             search_library_names = {
                 "Windows": ["hidapi.dll", "libhidapi-0.dll", "./hidapi.dll"],
-                "Linux": ["libhidapi-libusb.so", "libhidapi-libusb.so.0"],
+                "Linux": ["@libusb@"],
                 "Darwin": ["libhidapi.dylib"],
                 "FreeBSD": ["libhidapi.so"],
             }