Skip to content

Commit 07b96c1

Browse files
authored
Merge pull request #14018 from NixOS/fix-soname-for-real
meson: Fix SONAME for unstable versions
2 parents 9363346 + 7dbfe9f commit 07b96c1

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
@@ -34,4 +34,4 @@ if cxx.get_id() == 'clang'
3434
endif
3535

3636
# Darwin ld doesn't like "X.Y.Zpre"
37-
nix_soversion = meson.project_version().replace('pre', '')
37+
nix_soversion = meson.project_version().split('pre')[0]

0 commit comments

Comments
 (0)