-
Notifications
You must be signed in to change notification settings - Fork 484
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
python find_library doesn't behave as expected #2357
Comments
Cannot work around this either since I can't seem to access kernel32? |
Patch for |
Here is the upstream patch: https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/python38.git;a=blob;f=3.7-ctypes-cygwin.patch;h=62e360cb4bced797afe8ea80d1524b4d38892e49;hb=HEAD I guess the thing is that we have sys.platform == "msys", so we should adjust that patch. Can you try changing that file on your machine to check for "msys" there and see if it helps? |
As installed I see the check is |
ah, then there is probably another patch on top of that somewhere. |
Should I take this issue upstream? Or should I replace the cygwin patch with something more correct? In the meantime is there an alternative way to get the full path to a library? If I had access to kernel32, I could use |
I tried using |
Describe the issue
Attempting to get the path to the libpython, I try the following:
This seems a bit off...
find_library
doesn't seem to be doing anything useful here.On Linux, Mac, Windows, and MinGW environments it returns the full path to the library, if found.
Steps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: