meson: Add macOS libtool versioning for ABI compatibility

With this, the compatibility version and current version values in macOS
and iOS dylibs will match the values set by Autotools.

See: https://github.com/mesonbuild/meson/issues/1451
This commit is contained in:
Nirbheek Chauhan
2018-08-29 15:36:23 +05:30
parent 85e2a7d1b7
commit 8b3590c231
6 changed files with 8 additions and 1 deletions

View File

@@ -99,6 +99,7 @@ libgmodule = library('gmodule-2.0',
sources : gmodule_sources,
version : library_version,
soversion : soversion,
darwin_versions : darwin_versions,
install : true,
include_directories : [configinc, gmoduleinc],
dependencies : [libdl_dep, libglib_dep],