mm2 / Little-CMS

A free, open source, CMM engine. It provides fast transforms between ICC profiles.
https://www.littlecms.com
MIT License
549 stars 174 forks source link

Plugins lack soversion when configured with meson #432

Open oreo639 opened 7 months ago

oreo639 commented 7 months ago

When configuring with autoconf using ./configure --with-threaded, for example, the the library liblcms2_threaded.so.1.0.0 gets outputted with liblcms2_threaded.so.1 and liblcms2_threaded.so.

When compiling with meson, only liblcms2_threaded.so is generated with no soversion attached, resulting in some distros like Debian resorting to only shipping static versions of the plugins: https://salsa.debian.org/debian/lcms2/-/blob/master/debian/patches/build-plugins-as-static-libraries-only.patch?ref_type=heads

The same is the case with the fastfloat plugin.

Is this intentional, or should this be resolved?