diff --git a/hid/__init__.py b/hid/__init__.py index 0fcd3ba..d4f3f54 100644 --- a/hid/__init__.py +++ b/hid/__init__.py @@ -20,7 +20,7 @@ for lib in library_paths: try: - hidapi = ctypes.cdll.LoadLibrary(lib) + hidapi = ctypes.cdll.LoadLibrary(os.path.join('@NIX_HIDAPI_PATH@', lib)) break except OSError: pass