meson: Use libtool library versioning, same as autotools
This helps maintain ABI compatibility with the Autotools build so it's a drop-in replacement.
This commit is contained in:
parent
1eaf180359
commit
841ae6dddd
|
@ -2,6 +2,9 @@ project('libpsl', 'c',
|
|||
version : '0.20.2',
|
||||
meson_version : '>=0.47.0')
|
||||
|
||||
# Derived from LIBPSL_SO_VERSION in configure.ac
|
||||
lt_version = '5.3.2'
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
|
||||
enable_runtime = get_option('runtime')
|
||||
|
|
|
@ -20,6 +20,7 @@ libpsl = library('psl', sources, suffixes_dafsa_h,
|
|||
include_directories : [configinc, includedir],
|
||||
c_args : cargs,
|
||||
dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps],
|
||||
version: lt_version,
|
||||
install: true,
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue