-
Notifications
You must be signed in to change notification settings - Fork 196
Description
The current build system doesn't support shared libraries. Various patches from distros add this but all seem to make assumptions (e.g. shared libraries have extension .so). Switching to something like autotools or meson seems a better way to address this than trying to add support which handles all the platforms people might reasonably want to use snowball on.
This would also provide make install (or equivalent) and make it simpler to provide a .pc file for pkg-config/pkgconf support.
We also currently have a split between the snowball repo's build system and distribution tarballs this generates for some (but not all) target languages which each have their own separate Makefile, generated by GNUmakefile. This was implemented before I took over as maintainer, but I assume the thinking was that it was convenient to users to have a distribution of the pre-generated target language code. However these days there's more concern about supply chain attacks, and also people more often build straight from git, so I think these two levels are just extra complexity we don't need. Even if a future version of the snowball compiler did a lot more optimisation, the stemmers are small pieces of code so it's unlikely to ever take significant time.