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

geanypy: Try to locate the real dereferenced Python DSO #289

Merged
merged 1 commit into from
Oct 11, 2015

Conversation

b4n
Copy link
Member

@b4n b4n commented Oct 11, 2015

Try to pre-load the Python library with its real, fully dereferenced
path.

This is necessary because some installations don't have the symlink
from the generic (.so) to the versioned one (.so.X.Y) when the Python
development files aren't installed (i.e. libpython2.7-dev on Debian).

Fortunately for us (at least under Debian) Python has the name of the
final installed library in its INSTSONAME sysconfig's config var, so
use this instead of LDLIBRARY when it's available.

Closes codebrainz/geanypy#20

Try to pre-load the Python library with its real, fully dereferenced
path.

This is necessary because some installations don't have the symlink
from the generic (.so) to the versioned one (.so.X.Y) when the Python
development files aren't installed (i.e. libpython2.7-dev on Debian).

Fortunately for us (at least under Debian) Python has the name of the
final installed library in its `INSTSONAME` sysconfig's config var, so
use this instead of `LDLIBRARY` when it's available.

Closes codebrainz/geanypy#20
@b4n
Copy link
Member Author

b4n commented Oct 11, 2015

PR'd on the upstream repo too: codebrainz/geanypy#36

@b4n b4n merged commit e7b6584 into geany:master Oct 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants