summary refs log tree commit diff
path: root/pkgs/development/libraries/SDL/default.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2014-03-03 22:31:18 +0100
committeraszlig <aszlig@redmoonstudios.org>2014-03-03 22:38:48 +0100
commite64b342fa8fda783a7247e0469943ce728498004 (patch)
tree567a9c73e4fbb2137f9c714848d11287db7692b3 /pkgs/development/libraries/SDL/default.nix
parentae0b5d6813362492e744b1ac10e21309bb4e238b (diff)
downloadnixpkgs-e64b342fa8fda783a7247e0469943ce728498004.tar
nixpkgs-e64b342fa8fda783a7247e0469943ce728498004.tar.gz
nixpkgs-e64b342fa8fda783a7247e0469943ce728498004.tar.bz2
nixpkgs-e64b342fa8fda783a7247e0469943ce728498004.tar.lz
nixpkgs-e64b342fa8fda783a7247e0469943ce728498004.tar.xz
nixpkgs-e64b342fa8fda783a7247e0469943ce728498004.tar.zst
nixpkgs-e64b342fa8fda783a7247e0469943ce728498004.zip
Use mingw-w64 for 32bit Windows builds as well.
Mingw(32) is rather poorly maintaned and has quite a lot of bugs. And
because our Windows cross builds were also poorly maintained and most of
the cross-tests were broken as well, I'm just taking this step and try
to switch to mingw-w64 for everything "cross Windows".

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/development/libraries/SDL/default.nix')
-rw-r--r--pkgs/development/libraries/SDL/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/SDL/default.nix b/pkgs/development/libraries/SDL/default.nix
index 0df130b11fb..56ac04bebe6 100644
--- a/pkgs/development/libraries/SDL/default.nix
+++ b/pkgs/development/libraries/SDL/default.nix
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
 
   crossAttrs = {
     configureFlags = configureFlagsFun {
-      alsaSupport = stdenv.cross.config != "x86_64-w64-mingw32";
+      alsaSupport = stdenv.cross.libc != "msvcrt";
       alsaLib = alsaLib.crossDrv;
     } + "--disable-directx";
   };