Meson: maintain autotools compatibility on macOS (#2856)

By setting the correct compatibility/current version.
This commit is contained in:
Kleis Auke Wolthuizen 2022-06-11 23:54:43 +02:00 committed by GitHub
parent cdf12dd849
commit 296c263099
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,7 @@ libvips_cpp_lib = library('vips-cpp',
dependencies: libvips_dep, dependencies: libvips_dep,
include_directories: libvips_cpp_includedir, include_directories: libvips_cpp_includedir,
version: library_version, version: library_version,
darwin_versions: darwin_versions,
gnu_symbol_visibility: 'hidden', gnu_symbol_visibility: 'hidden',
install: true, install: true,
) )

View File

@ -23,6 +23,7 @@ libvips_lib = library('vips',
link_whole: libvips_components, link_whole: libvips_components,
dependencies: libvips_deps, dependencies: libvips_deps,
version: library_version, version: library_version,
darwin_versions: darwin_versions,
gnu_symbol_visibility: 'hidden', gnu_symbol_visibility: 'hidden',
install: true, install: true,
) )

View File

@ -23,6 +23,7 @@ library_current = 57
library_age = 15 library_age = 15
library_revision = 0 library_revision = 0
library_version = '@0@.@1@.@2@'.format(library_current - library_age, library_age, library_revision) library_version = '@0@.@1@.@2@'.format(library_current - library_age, library_age, library_revision)
darwin_versions = [library_current + 1, '@0@.@1@'.format(library_current + 1, library_revision)]
gnome = import('gnome') gnome = import('gnome')
pymod = import('python') pymod = import('python')