[Github-comments] [geany/geany] WIP: Meson build system (#2761)

Thomas Martitz notifications at xxxxx
Sun Apr 11 11:43:49 UTC 2021


> 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.

You have to use the correct libdir, obviously, i.e. `--with-geany-libdir=/home/lex/geany_meson/lib/x86_64-linux-gnu`. Typically you avoid setting `--with-geany-libdir` and instead point pkg-config to the correct `geany.pc`.  Under ubuntu, geany.pc has this line: `libdir=${exec_prefix}/lib/x86_64-linux-gnu`

I configure G-P like this:

`./configure PKG_CONFIG_PATH=/home/kugel/dev/geany.git/build-meson/dest/lib/pkgconfig --prefix=/home/kugel/dev/geany.git/build-meson/dest/`.

IMO, the `PKG_CONFIG_PATH` ought to be enough and the prefix should follow automatically but that's not how G-P configure works currenty

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2761#issuecomment-817293688
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210411/18f5f160/attachment.htm>


More information about the Github-comments mailing list