diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-09-08 00:00:48 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-09-08 00:00:48 +0200 |
commit | d4b1f4d44928ffbdd3221524af6fbd5f426edb8a (patch) | |
tree | f598f64d237caed21dd3ef3a9072176a9e7d0d42 | |
parent | 88136714862fe48c6e919ebc97c85b679cd2f92a (diff) | |
download | seatd-d4b1f4d44928ffbdd3221524af6fbd5f426edb8a.tar.xz |
libseat: Version the .so file
-rw-r--r-- | meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
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, |