Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lookup library path before loading #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cdlm
Copy link

@cdlm cdlm commented Jun 28, 2021

Fixes #50

cdlm added 2 commits June 28, 2021 14:31
I'm guessing `ctypes.cdll.LoadLibrary()` only looks in well-known paths
like `/usr/local/lib`. Resolving the full library path first with
`ctypes.util.find_library()` should be more robust.
@d3sertx
Copy link

d3sertx commented Jul 28, 2022

Can we merge this pull request?

@bashu
Copy link

bashu commented Dec 16, 2022

Using this patch in macports version of pyhidapi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Library lookup doesn't work with custom path
3 participants