boost: make boost work for static darwin builds

Prior needsUserConfig setting is unconditionally applied for darwin.
This is not valid for static builds and should only be set for dynamically linked darwin builds.
main
Doro Rose 2 years ago
parent 2aba5d3080
commit 4a8f46f7ce
  1. 2
      pkgs/development/libraries/boost/generic.nix

@ -68,7 +68,7 @@ let
else
"$NIX_BUILD_CORES";
needUserConfig = stdenv.hostPlatform != stdenv.buildPlatform || useMpi || stdenv.isDarwin;
needUserConfig = stdenv.hostPlatform != stdenv.buildPlatform || useMpi || (stdenv.isDarwin && enableShared);
b2Args = concatStringsSep " " ([
"--includedir=$dev/include"

Loading…
Cancel
Save