- `datarootdir = ${prefix}/share` -> this is the value in a generated Linux Makefile, this would lead to `/share` on Windows which is not relative, $datarootdir is used for `LOCALEDIR` and others
Could be `prefix=./` to make it relative.
- `PKGLIBDIR` is empty on Windows, on Linux it is `$(libdir)/geany-plugins` with `$libdir` being `$prefix/lib`, no idea why those are different and PKGLIBDIR seems unused at all to me
But why have it different depending on the platform? Even if we used to, should we carry that on or couldn't we rely on it being UNIX-style, so on Windows it could be enough to use something like `g_build_path(g_win32_get_package_installation_directory_of_module(), DATADIR, NULL)` or alike?
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/374#issuecomment-189679993