mirror of
https://gitlab.gnome.org/GNOME/evince
synced 2024-07-05 00:59:07 +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:
parent
288be740b5
commit
ca4b7aaff6
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user