From d4b1f4d44928ffbdd3221524af6fbd5f426edb8a Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Tue, 8 Sep 2020 00:00:48 +0200 Subject: libseat: Version the .so file --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index cf2b445..389de13 100644 --- a/meson.build +++ b/meson.build @@ -11,6 +11,9 @@ project( ], ) +# Bump whenever ABI-breaking changes occur. +libseat_soversion = 1 + add_project_arguments( [ '-Wundef', @@ -135,6 +138,7 @@ symbols_flag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), lib = library( 'seat', # This results in the library being called 'libseat' [ 'libseat/libseat.c' ], + soversion: libseat_soversion, link_with: private_lib, include_directories: [include_directories('.', 'include')], install: true, -- cgit v1.2.3