meson: 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 18:08:40 +02:00
parent dd03d839ab
commit bb32349c97

View file

@ -169,7 +169,7 @@ symbols_file = 'wlroots.syms'
symbols_flag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), symbols_file)
lib_wlr = library(
meson.project_name(), wlr_files,
soversion: soversion,
soversion: soversion.to_string(),
dependencies: wlr_deps,
include_directories: [wlr_inc, proto_inc],
install: true,