diff options
author | Tom Schoonjans <Tom.Schoonjans@rfi.ac.uk> | 2020-09-27 15:39:50 +0100 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-09-28 15:25:57 +0200 |
commit | 2c24f3f748ecfa6858f8510c8268527625925614 (patch) | |
tree | 7e9d3ce6bac0a35b630ec1b7936be9c1669bddcc | |
parent | 230257ff751e018463919647c01e8e4a02e2eb15 (diff) | |
download | sigc++-2c24f3f748ecfa6858f8510c8268527625925614.tar.gz |
Meson build: fix versioning on macOS
-rw-r--r-- | meson.build | 1 | ||||
-rw-r--r-- | sigc++/meson.build | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 5a0b7a8..8c42063 100644 --- a/meson.build +++ b/meson.build @@ -31,6 +31,7 @@ sigcxx_libversion = '@0@.@1@.@2@'.format( libtool_soversion[0] - libtool_soversion[2], libtool_soversion[2], libtool_soversion[1]) +darwin_versions = [libtool_soversion[0] + 1, '@0@.@1@'.format(libtool_soversion[0] + 1, libtool_soversion[1])] # Use these instead of meson.source_root() and meson.build_root() in subdirectories. # source_root() and build_root() are not useful, if this is a subproject. diff --git a/sigc++/meson.build b/sigc++/meson.build index 2814237..07212a0 100644 --- a/sigc++/meson.build +++ b/sigc++/meson.build @@ -169,6 +169,7 @@ if maintainer_mode cpp_args: extra_sigc_cppflags, include_directories: extra_include_dirs, dependencies: sigcxx_build_dep, + darwin_versions: darwin_versions, install: true, ) @@ -212,6 +213,7 @@ else # not maintainer_mode cpp_args: extra_sigc_cppflags, include_directories: extra_include_dirs, dependencies: sigcxx_build_dep, + darwin_versions: darwin_versions, install: true, ) |