1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

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.
This commit is contained in:
Michael Raitza 2016-03-08 10:04:04 +00:00
parent 0bf8a1a86d
commit f7bf249b2b

View file

@ -58,7 +58,7 @@ let
"--layout=${layout}"
"variant=${variant}"
"threading=${threading}"
"runtime-link=${runtime-link}"
] ++ optional (link != "static") "runtime-link=${runtime-link}" ++ [
"link=${link}"
"${cflags}"
] ++ optional (variant == "release") "debug-symbols=off";