Merge pull request #148 from nirbheek/meson-port
meson: Use libtool library versioning, same as autotools
This commit is contained in:
commit
d26a0acfd7
|
@ -2,6 +2,9 @@ project('libpsl', 'c',
|
||||||
version : '0.21.0',
|
version : '0.21.0',
|
||||||
meson_version : '>=0.47.0')
|
meson_version : '>=0.47.0')
|
||||||
|
|
||||||
|
# Derived from LIBPSL_SO_VERSION in configure.ac
|
||||||
|
lt_version = '5.3.2'
|
||||||
|
|
||||||
cc = meson.get_compiler('c')
|
cc = meson.get_compiler('c')
|
||||||
|
|
||||||
enable_runtime = get_option('runtime')
|
enable_runtime = get_option('runtime')
|
||||||
|
|
|
@ -20,6 +20,7 @@ libpsl = library('psl', sources, suffixes_dafsa_h,
|
||||||
include_directories : [configinc, includedir],
|
include_directories : [configinc, includedir],
|
||||||
c_args : cargs,
|
c_args : cargs,
|
||||||
dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps],
|
dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps],
|
||||||
|
version: lt_version,
|
||||||
install: true,
|
install: true,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue