Skip to content
Snippets Groups Projects
Commit af960f70 authored by Sébastien Wilmet's avatar Sébastien Wilmet
Browse files

build: set 'soversion' to 0 in the library() call

The 5.6.0 release introduced an unintentional soname bump.
See also previous commit.

Specifying 0 is necessary to avoid a soname change compared to the 5.4.x
releases. That way it's easier to update the package in Linux
distributions.

'soversion' is easier to use than the 'version' argument. In the future,
if an ABI break is done, it will also be easier (just increment the
number).

So with this commit, on Linux the filename is now:
libamtk-5.so.0

with a symbolic link:
libamtk-5.so -> libamtk-5.so.0
parent 867f0b26
Branches
Tags
No related merge requests found
......@@ -74,6 +74,7 @@ amtk_lib = library(
link_depends: symbol_map,
# link_whole is not supported with MSVC, so we use extract_all_objects().
objects: amtk_static_lib.extract_all_objects(recursive: false),
soversion: 0,
install: true
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment