mirror of
https://github.com/NixOS/nix.git
synced 2025-12-07 17:41:00 +01:00
meson: Fix SONAME for unstable versions
Replacing the string is not enough [^] for e.g. nixpkgs precise versions: `2.31pre20250712_b1245123` [^]: https://github.com/NixOS/nixpkgs/pull/444089
This commit is contained in:
parent
3a687eeb4f
commit
7dbfe9f576
1 changed files with 1 additions and 1 deletions
|
|
@ -42,4 +42,4 @@ if cxx.get_id() == 'clang' and ('address' in get_option('b_sanitize') or 'undefi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Darwin ld doesn't like "X.Y.Zpre"
|
# Darwin ld doesn't like "X.Y.Zpre"
|
||||||
nix_soversion = meson.project_version().replace('pre', '')
|
nix_soversion = meson.project_version().split('pre')[0]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue