Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #37621 from ivan-tkatchev/boost-static-fix

boost: Fix static library builds.

authored by Matthew Justin Bauer and committed by GitHub ec04583a 13fb4458

+2 -2
+2 -2
pkgs/development/libraries/boost/generic.nix
··· 55 55 "--layout=${layout}" 56 56 "variant=${variant}" 57 57 "threading=${threading}" 58 - "runtime-link=${runtime-link}" 59 58 "link=${link}" 60 59 "-sEXPAT_INCLUDE=${expat.dev}/include" 61 60 "-sEXPAT_LIBPATH=${expat.out}/lib" 62 - ] ++ optional (variant == "release") "debug-symbols=off" 61 + ] ++ optional (link != "static") "runtime-link=${runtime-link}" 62 + ++ optional (variant == "release") "debug-symbols=off" 63 63 ++ optional (toolset != null) "toolset=${toolset}" 64 64 ++ optional (mpi != null || hostPlatform != buildPlatform) "--user-config=user-config.jam" 65 65 ++ optionals (hostPlatform.libc == "msvcrt") [