Skip to content

Adjust static libpython detection #1401

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

Closed
wants to merge 1 commit into from

Conversation

filmor
Copy link
Member

@filmor filmor commented Feb 27, 2021

dladdr may only return the basename of the executable image, so we have to adjust the lookup accordingly.

What does this implement/fix? Explain your changes.

Second attempt (first was #1396), but just checking Py_ENABLE_SHARED is not enough.

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.
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.

1 participant