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

Adjust static libpython detection #1396

Merged
merged 2 commits into from
Feb 22, 2021

Conversation

filmor
Copy link
Member

@filmor filmor commented Feb 22, 2021

What does this implement/fix? Explain your changes.

Skips checking for a linked libpython.so on Unix unless Py_ENABLE_SHARED is set. If it's not set, all symbols are in the base image.

Does this close any currently open issues?

#1388

Any other comments?

...

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Add yourself to AUTHORS
  • Updated the CHANGELOG

`dladdr` may only return the basename of the executable image, so we
have to adjust the lookup accordingly.
@lostmsu lostmsu merged commit c4f2ad7 into pythonnet:master Feb 22, 2021
@filmor filmor deleted the fix-static-libpython branch February 22, 2021 21:35
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.

2 participants