Merge pull request #168165 from kfiz/boost-fix-needsUserConfig-setting

This commit is contained in:
Ben Siraphob 2022-04-10 21:00:52 -05:00 committed by GitHub
commit 916a137b8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"