From 2d760a28b3479bcbb39d512cf9930b46d17d5364 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 12 Apr 2015 10:32:18 +0200 Subject: [PATCH] boost: Supply some configure flags for mingw. Otherwise, Boost.Build is trying to compile against pthread and desperately searches for icu/iconv. Signed-off-by: aszlig --- pkgs/development/libraries/boost/generic.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/boost/generic.nix b/pkgs/development/libraries/boost/generic.nix index 65d188a86c5..758d95309bb 100644 --- a/pkgs/development/libraries/boost/generic.nix +++ b/pkgs/development/libraries/boost/generic.nix @@ -76,6 +76,9 @@ let "--user-config=user-config.jam" "toolset=gcc-cross" "--without-python" + ] ++ optionals stdenv.isCrossWin [ + "target-os=windows" + "threadapi=win32" ]; crossB2Args = concatStringsSep " " (genericB2Flags ++ crossB2Flags);