gprbuild: add comment on headerpad_max_install_names

This commit is contained in:
Weijia Wang 2024-04-06 18:31:26 +02:00 committed by sternenseemann
parent e599123b09
commit aad2a8af94
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ stdenv.mkDerivation {
];
env = lib.optionalAttrs stdenv.isDarwin {
# Ensure that there is enough space for the `fixDarwinDylibNames` hook to
# update the install names of the output dylibs.
NIX_LDFLAGS = "-headerpad_max_install_names";
};