1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-10 12:36:01 +01:00

meson: add soversion with nix version to give SONAME to libs (#13960, #13979)

remove 'pre' version suffix for non-releases (chokes Darwin ld)
This commit is contained in:
Jens Petersen 2025-09-15 14:38:08 +08:00
parent 2b0fd88324
commit dd1a554aba
16 changed files with 16 additions and 0 deletions

View file

@ -44,6 +44,7 @@ subdir('nix-meson-build-support/windows-version')
this_library = library(
'nix-expr-test-support',
sources,
soversion : meson.project_version().replace('pre', ''),
dependencies : deps_public + deps_private + deps_other,
include_directories : include_dirs,
# TODO: Remove `-lrapidcheck` when https://github.com/emil-e/rapidcheck/pull/326