Merge branch 'fix-darwin-version' into 'gtk-3-24'

meson: fix darwin_versions

See merge request GNOME/gtk!983
This commit is contained in:
Matthias Clasen 2019-07-09 19:39:41 +00:00
commit 7331a7649b
2 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,7 @@ endif
libgailutil = shared_library('gailutil-3',
soversion: gtk_soversion,
version: gail_library_version,
darwin_versions: ['1', '1.0'],
sources: [gailutil_sources],
dependencies: libgtk_dep,
include_directories: [confinc, gtkinc],

View File

@ -121,7 +121,8 @@ else
gail_library_version = '0.0.0'
endif
gtk_osxversions = [(100 * gtk_minor_version) + 1, '@0@.@1@.0'.format((100 * gtk_minor_version) + 1, gtk_micro_version)]
osx_current = gtk_binary_age - gtk_interface_age + 1
gtk_osxversions = [osx_current, '@0@.@1@.0'.format(osx_current, gtk_interface_age)]
gtk_api_version = '@0@.0'.format(gtk_major_version)