1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-07-02 15:48:59 +00:00

Avoid changing soname

Bumping the major version to 40 in commit
288be740b5 inadvertently changed the
soname for shared libevdocument and libevview.

Fix this by making the soname calculation independent from the project
version as the library ABI hasn't actually changed.
This commit is contained in:
Kalev Lember 2021-03-26 14:48:51 +01:00
parent 288be740b5
commit ca4b7aaff6
3 changed files with 4 additions and 4 deletions

View File

@ -138,7 +138,7 @@ cflags = [
]
libevdocument = shared_library(
'evdocument' + ev_major_version.to_string(),
'evdocument3',
version: ev_document_version,
sources: sources + enum_sources + [version_header],
include_directories: top_inc,

View File

@ -82,7 +82,7 @@ if enable_multimedia
endif
libevview = shared_library(
'evview' + ev_major_version.to_string(),
'evview3',
version: ev_view_version,
sources: sources + marshal_sources + enum_sources,
include_directories: top_inc,

View File

@ -43,13 +43,13 @@ ev_document_version = '@0@.@1@.@2@'.format(ev_document_current, ev_document_revi
ev_document_current_minus_age = ev_document_current - ev_document_age
# Libtool version of the view library
ev_view_current = ev_major_version
ev_view_current = 3
ev_view_revision = 0
ev_view_age = 0
ev_view_version = '@0@.@1@.@2@'.format(ev_view_current, ev_view_revision, ev_view_age)
ev_view_current_minus_age = ev_view_current - ev_view_age
ev_api_version = '@0@.0'.format(ev_major_version)
ev_api_version = '3.0'
ev_include_subdir = join_paths(ev_name, ev_api_version)