[Github-comments] [geany-plugins] Extend mingw support (#374)

Colomban Wendling notifications at xxxxx
Sat Feb 27 16:39:15 UTC 2016


> - `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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160227/bb3c6747/attachment.html>


More information about the Github-comments mailing list