[Github-comments] [geany-plugins] geanypy: Try to locate the real dereferenced Python DSO (#289)

Colomban Wendling notifications at xxxxx
Sun Oct 11 13:46:43 UTC 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 https://github.com/codebrainz/geanypy/issues/20
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/289

-- Commit Summary --

  * geanypy: Try to locate the real dereferenced Python DSO

-- File Changes --

    M geanypy/m4/ax_python_library.m4 (5)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/289.patch
https://github.com/geany/geany-plugins/pull/289.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/289
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151011/f93e3621/attachment.html>


More information about the Github-comments mailing list