libseat: Version the .so file
This commit is contained in:
parent
8813671486
commit
d4b1f4d449
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue