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

@@ -16,6 +16,7 @@ libgthread = library('gthread-2.0',
sources : gthread_sources,
version : library_version,
soversion : soversion,
darwin_versions : darwin_versions,
install : true,
dependencies : [libglib_dep],
c_args : ['-DG_LOG_DOMAIN="GThread"' ] + glib_hidden_visibility_args,