mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 11:36:03 +01:00
meson: refactor nix_soversion into nix-meson-build-support/common
This is a follow-on to #13995 which added soversion to the libraries
This commit is contained in:
parent
5e17a3f81c
commit
86bb7c958a
17 changed files with 19 additions and 16 deletions
|
|
@ -40,3 +40,6 @@ if cxx.get_id() == 'clang' and ('address' in get_option('b_sanitize') or 'undefi
|
|||
))
|
||||
add_project_link_arguments('-shared-libasan', language : 'cpp')
|
||||
endif
|
||||
|
||||
# Darwin ld doesn't like "X.Y.Zpre"
|
||||
nix_soversion = meson.project_version().strip('pre')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue