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

meson: Prelink links to avoid missing C++ initializers

This is the same as what the old build system did in
7eca8a16ea, done for the same reasons.
This commit is contained in:
John Ericson 2024-06-28 17:02:23 -04:00
parent 912c517bc0
commit 513f6b9718
12 changed files with 12 additions and 0 deletions

View file

@ -63,6 +63,7 @@ this_library = library(
# TODO: Remove `-lrapidcheck` when https://github.com/emil-e/rapidcheck/pull/326
# is available. See also ../libutil/build.meson
link_args: linker_export_flags + ['-lrapidcheck'],
prelink : true, # For C++ static initializers
install : true,
)