1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

Merge pull request #14432 from NixOS/meson-darwin-soname

meson: Also split version string at '+' for Darwin
This commit is contained in:
John Ericson 2025-10-31 21:03:47 +00:00 committed by GitHub
commit 937a6df809
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,8 +42,8 @@ if cxx.get_id() == 'clang'
add_project_arguments('-fpch-instantiate-templates', language : 'cpp')
endif
# Darwin ld doesn't like "X.Y.Zpre"
nix_soversion = meson.project_version().split('pre')[0]
# Darwin ld doesn't like "X.Y.ZpreABCD+W"
nix_soversion = meson.project_version().split('+')[0].split('pre')[0]
subdir('assert-fail')
subdir('asan-options')