Introduce symbol versioning of the library
When creating a shared library, it is a good practice to associate version information to each exported symbol through LD version scripts: https://www.gnu.org/software/gnulib/manual/html_node/LD-Version-Scripts.html
While Meson doesn't have native support for it yet, there is a way to supply version scripts through cc.get_supported_link_arguments
and link_with
attribute in shared_library
target. Examples are: