meson: Use the appropriate soversion
[platform/upstream/atk.git] / meson.build
index 1fd2ed5..af9b3dd 100644 (file)
@@ -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')