1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 08:31:16 +02: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

@ -43,6 +43,7 @@ nix_perl_store_lib = library(
'Store',
sources : nix_perl_store_cc,
name_prefix : '',
prelink : true, # For C++ static initializers
install : true,
install_mode : 'rwxr-xr-x',
install_dir : join_paths(nix_perl_install_dir, 'auto', 'Nix', 'Store'),