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

UnixCCompiler.find_library_file should handle LIBRARY_PATH #156

Open
mkoeppe opened this issue Jul 2, 2022 · 0 comments
Open

UnixCCompiler.find_library_file should handle LIBRARY_PATH #156

mkoeppe opened this issue Jul 2, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Jul 2, 2022

The linker looks for libraries in the directories given by the environment variable LIBRARY_PATH before the system library directories. https://setuptools.pypa.io/en/latest/userguide/ext_modules.html#compiler-and-linker-options

UnixCCompiler.find_library, used by various packages to determine whether a library can be linked (example: https://github.com/python-pillow/Pillow/blob/main/setup.py), should handle LIBRARY_PATH too.

@jaraco jaraco added the help wanted Extra attention is needed label Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants