mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
nix-meson-build-support/common nix_soversion: fixup removal of 'pre'
.strip() removes individual chars whereas .replace() affects whole substring Thanks @keszybz
This commit is contained in:
parent
1a69fc6ab5
commit
ca23c819e0
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
|
||||
|
||||
# Darwin ld doesn't like "X.Y.Zpre"
|
||||
nix_soversion = meson.project_version().strip('pre')
|
||||
nix_soversion = meson.project_version().replace('pre', '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue