Skip to content

Commit 7822bd5

Browse files
authored
Merge pull request #14005 from juhp/nix_soversion
nix-meson-build-support/common nix_soversion: fixup removal of 'pre'
2 parents 0b19468 + ca23c81 commit 7822bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ if cxx.get_id() == 'clang' and ('address' in get_option('b_sanitize') or 'undefi
4242
endif
4343

4444
# Darwin ld doesn't like "X.Y.Zpre"
45-
nix_soversion = meson.project_version().strip('pre')
45+
nix_soversion = meson.project_version().replace('pre', '')

0 commit comments

Comments
 (0)