[atk] meson: Use the appropriate soversion
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atk] meson: Use the appropriate soversion
- Date: Mon, 22 May 2017 20:12:32 +0000 (UTC)
commit b54a6abd89710fb0956ca0b121b7358d777d3358
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon May 22 21:11:30 2017 +0100
meson: Use the appropriate soversion
The shared library should have a soversion of 0, so that Meson can
create the appropriate symlinks to match what Autotools do.
atk/meson.build | 1 +
meson.build | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/atk/meson.build b/atk/meson.build
index d92b6f0..83ae5ba 100644
--- a/atk/meson.build
+++ b/atk/meson.build
@@ -112,6 +112,7 @@ atk_inc = include_directories('.')
libatk = shared_library('atk-@0@'.format(atk_api_version),
sources: atk_sources + atk_enums + atk_marshals,
soversion: atk_soversion,
+ version: atk_libversion,
install: true,
dependencies: gobject_dep,
include_directories: [ root_inc, atk_inc ],
diff --git a/meson.build b/meson.build
index 1fd2ed5..af9b3dd 100644
--- a/meson.build
+++ b/meson.build
@@ -35,7 +35,8 @@ atk_conf.set_quoted('VERSION', meson.project_version())
atk_conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
# Maintain version scheme with libtool
-atk_soversion = '0.@0@.@1@'.format((atk_binary_age - atk_interface_age), atk_interface_age)
+atk_soversion = 0
+atk_libversion = '@0@.@1@.@2@'.format(atk_soversion, (atk_binary_age - atk_interface_age), atk_interface_age)
add_project_arguments([ '-DG_DISABLE_SINGLE_INCLUDES', '-DATK_DISABLE_SINGLE_INCLUDES' ], language: 'c')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]