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:
parent
0bf8a1a86d
commit
f7bf249b2b
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue