<p>Try to pre-load the Python library with its real, fully dereferenced<br>
path.</p>

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

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

<p>Closes <a href="https://github.com/codebrainz/geanypy/issues/20" class="issue-link" title="geany crashes when geanypy is activated an libpython is not installed">codebrainz/geanypy#20</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany-plugins/pull/289'>https://github.com/geany/geany-plugins/pull/289</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>geanypy: Try to locate the real dereferenced Python DSO</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/289/files#diff-0">geanypy/m4/ax_python_library.m4</a>
    (5)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany-plugins/pull/289.patch'>https://github.com/geany/geany-plugins/pull/289.patch</a></li>
  <li><a href='https://github.com/geany/geany-plugins/pull/289.diff'>https://github.com/geany/geany-plugins/pull/289.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany-plugins/pull/289">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ4Z9i-rDBzR0qV0orN3AAy7Ey5pfks5o6l_DgaJpZM4GMv2z.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-plugins/pull/289"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>