Meson: maintain autotools compatibility on macOS (#2856)
By setting the correct compatibility/current version.
This commit is contained in:
parent
cdf12dd849
commit
296c263099
@ -9,6 +9,7 @@ libvips_cpp_lib = library('vips-cpp',
|
||||
dependencies: libvips_dep,
|
||||
include_directories: libvips_cpp_includedir,
|
||||
version: library_version,
|
||||
darwin_versions: darwin_versions,
|
||||
gnu_symbol_visibility: 'hidden',
|
||||
install: true,
|
||||
)
|
||||
|
@ -23,6 +23,7 @@ libvips_lib = library('vips',
|
||||
link_whole: libvips_components,
|
||||
dependencies: libvips_deps,
|
||||
version: library_version,
|
||||
darwin_versions: darwin_versions,
|
||||
gnu_symbol_visibility: 'hidden',
|
||||
install: true,
|
||||
)
|
||||
|
@ -23,6 +23,7 @@ library_current = 57
|
||||
library_age = 15
|
||||
library_revision = 0
|
||||
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')
|
||||
pymod = import('python')
|
||||
|
Loading…
Reference in New Issue
Block a user