Skip to content

Commit 2a7c936

Browse files
committed
Meson build: fix versioning on macOS
1 parent 230257f commit 2a7c936

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

meson.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ sigcxx_libversion = '@0@.@1@.@2@'.format(
3131
libtool_soversion[0] - libtool_soversion[2],
3232
libtool_soversion[2],
3333
libtool_soversion[1])
34+
current = libtool_soversion[0] + libtool_soversion[1]
35+
revision = libtool_soversion[2]
36+
darwin_versions = [current + 1, '@0@.@1@'.format(current + 1, revision)]
3437

3538
# Use these instead of meson.source_root() and meson.build_root() in subdirectories.
3639
# source_root() and build_root() are not useful, if this is a subproject.

sigc++/meson.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ if maintainer_mode
169169
cpp_args: extra_sigc_cppflags,
170170
include_directories: extra_include_dirs,
171171
dependencies: sigcxx_build_dep,
172+
darwin_versions: darwin_versions,
172173
install: true,
173174
)
174175

@@ -212,6 +213,7 @@ else # not maintainer_mode
212213
cpp_args: extra_sigc_cppflags,
213214
include_directories: extra_include_dirs,
214215
dependencies: sigcxx_build_dep,
216+
darwin_versions: darwin_versions,
215217
install: true,
216218
)
217219

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy