<p></p>
<blockquote>
<p>Geany plugins now build if configured --prefix=/home/lex/geany_meson --with-geany-libdir=/home/lex/geany_meson/lib and install to $PREFIX/lib/geany but do not appear in plugin manager.</p>
</blockquote>
<p>You have to use the correct libdir, obviously, i.e. <code>--with-geany-libdir=/home/lex/geany_meson/lib/x86_64-linux-gnu</code>. Typically you avoid setting <code>--with-geany-libdir</code> and instead point pkg-config to the correct <code>geany.pc</code>.  Under ubuntu, geany.pc has this line: <code>libdir=${exec_prefix}/lib/x86_64-linux-gnu</code></p>
<p>I configure G-P like this:</p>
<p><code>./configure PKG_CONFIG_PATH=/home/kugel/dev/geany.git/build-meson/dest/lib/pkgconfig --prefix=/home/kugel/dev/geany.git/build-meson/dest/</code>.</p>
<p>IMO, the <code>PKG_CONFIG_PATH</code> ought to be enough and the prefix should follow automatically but that's not how G-P configure works currenty</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2761#issuecomment-817293688">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7QQ2XMOEGUY2Z7YODTIGDPLANCNFSM4ZDZAFLA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3XWOGMLUQVAQH7WNTTIGDPLA5CNFSM4ZDZAFLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGC3OS6A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2761#issuecomment-817293688",
"url": "https://github.com/geany/geany/pull/2761#issuecomment-817293688",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>