meson: library soversion arg should be string

muon, a meson implementation in C, is more strict with its types and
revealed this discrepancy between meson behavior and documentation.
This commit is contained in:
Kenny Levinsen 2022-03-28 16:28:00 +02:00
parent 845256009b
commit d5539dead8

View file

@ -178,7 +178,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', 'libseat/backend/noop.c' ],
soversion: libseat_soversion,
soversion: '@0@'.format(libseat_soversion),
link_with: private_lib,
include_directories: [include_directories('.', 'include')],
install: true,