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
PR'd on the upstream repo too: https://github.com/codebrainz/geanypy/pull/36
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/289#issuecomment-147193266
Merged #289.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/289#event-432431359
github-comments@lists.geany.org