Merge pull request #267214 from reckenrode/suitesparse-fix

suitesparse: fix build on x86_64-darwin
This commit is contained in:
Weijia Wang 2023-11-14 16:18:13 +01:00 committed by GitHub
commit 0523b2e6c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,12 @@ stdenv.mkDerivation rec {
]
;
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";
};
buildFlags = [
# Build individual shared libraries, not demos
"library"