Skip to content

Conversation

@b4n
Copy link
Collaborator

@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 #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#20.
@evgeni
Copy link

evgeni commented Oct 11, 2015

👍

@codebrainz
Copy link
Owner

It seems ok to me. @b4n do you mind merging it?

Edit: and also in downstream geany-plugins repo :)

@b4n b4n merged commit 8c2e6f7 into codebrainz:master Oct 11, 2015
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.

3 participants