Merge pull request #148 from nirbheek/meson-port

meson: Use libtool library versioning, same as autotools
This commit is contained in:
Tim Rühsen 2020-02-28 14:01:36 +01:00 committed by GitHub
commit d26a0acfd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,9 @@ project('libpsl', 'c',
version : '0.21.0',
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')

View File

@ -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,
)