boost: Fix compilation for static builds.
The 'runtime-link=' feature must not be set in addition to 'link='
for boost-1.55 when building only the statically linked libraries.
Fixes errors that targets were defined multiple times.
commitf7bf249b2be4845a3b758d1271e836020a33ea2f
authorMichael Raitza <spacefrogg-github@meterriblecrew.net>
dateTue 8 Mar 2016, 10:04 (11 years ago)
parent0bf8a1a
pkgs/development/libraries/boost/generic.nix+1−1
@@ -58,7 +58,7 @@ let
5858 "--layout=${layout}"
5959 "variant=${variant}"
6060 "threading=${threading}"
61− "runtime-link=${runtime-link}"
61+ ] ++ optional (link != "static") "runtime-link=${runtime-link}" ++ [
6262 "link=${link}"
6363 "${cflags}"
6464 ] ++ optional (variant == "release") "debug-symbols=off";