Skip to content

Commit 7dbfe9f

Browse files
committed
meson: Fix SONAME for unstable versions
Replacing the string is not enough [^] for e.g. nixpkgs precise versions: `2.31pre20250712_b1245123` [^]: NixOS/nixpkgs#444089
1 parent 3a687ee commit 7dbfe9f

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().replace('pre', '')
45+
nix_soversion = meson.project_version().split('pre')[0]

0 commit comments

Comments
 (0)