Skip to content

Commit 937a6df

Browse files
authored
Merge pull request #14432 from NixOS/meson-darwin-soname
meson: Also split version string at '+' for Darwin
2 parents d035d8b + 1ca6e9e commit 937a6df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nix-meson-build-support/common/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ if cxx.get_id() == 'clang'
4242
add_project_arguments('-fpch-instantiate-templates', language : 'cpp')
4343
endif
4444

45-
# Darwin ld doesn't like "X.Y.Zpre"
46-
nix_soversion = meson.project_version().split('pre')[0]
45+
# Darwin ld doesn't like "X.Y.ZpreABCD+W"
46+
nix_soversion = meson.project_version().split('+')[0].split('pre')[0]
4747

4848
subdir('assert-fail')
4949
subdir('asan-options')

0 commit comments

Comments
 (0)