summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2020-09-29 13:33:07 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2020-09-29 13:33:07 +0200
commit6dce6ffa5d745f02a28e843e35ab804ed36ad903 (patch)
treeea092d1f08e0b638fc177145acb3e80e57e4d6cb /meson.build
parent8bbc3037f20240c5e4d77fbdf4f1e83b49705e39 (diff)
Meson build: Fix versioning on macOS
See https://github.com/libsigcplusplus/libsigcplusplus/pull/65
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 0181f97..c724042 100644
--- a/meson.build
+++ b/meson.build
@@ -29,7 +29,12 @@ libtool_soversion = [5, 0, 4]
cairomm_libversion = '@0@.@1@.@2@'.format(
libtool_soversion[0] - libtool_soversion[2],
libtool_soversion[2],
- libtool_soversion[1])
+ libtool_soversion[1]
+)
+macos_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.