diff --git a/cplusplus/meson.build b/cplusplus/meson.build index 2f65d13a..f00e58ab 100644 --- a/cplusplus/meson.build +++ b/cplusplus/meson.build @@ -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, ) diff --git a/libvips/meson.build b/libvips/meson.build index 6a6f6f66..9e6750f8 100644 --- a/libvips/meson.build +++ b/libvips/meson.build @@ -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, ) diff --git a/meson.build b/meson.build index f41c29a0..78f807b0 100644 --- a/meson.build +++ b/meson.build @@ -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')