about summary refs log tree commit diff
path: root/pkgs/development/libraries/SDL2
diff options
context:
space:
mode:
authorSean Link <sean.link@lightdeckdx.com>2024-02-26 12:13:38 -0700
committerBjørn Forsman <bjorn.forsman@gmail.com>2024-02-26 21:57:33 +0100
commita2554b6dae6342dc64f83bb1cfeadfd43380c333 (patch)
tree3b3d051dbd57626881d7e5450d998030a7a9641b /pkgs/development/libraries/SDL2
parent842148eb5b86571e9f0bf4690094fb7c0f4fd565 (diff)
SDL2: improve mingw support
Part of a larger effort to add mingw support for qtmultimedia.
ffmpeg will fail to compile without this change.
Diffstat (limited to 'pkgs/development/libraries/SDL2')
-rw-r--r--pkgs/development/libraries/SDL2/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/SDL2/default.nix b/pkgs/development/libraries/SDL2/default.nix
index 7b82a7344f505..1aac55d6ef9ee 100644
--- a/pkgs/development/libraries/SDL2/default.nix
+++ b/pkgs/development/libraries/SDL2/default.nix
@@ -48,7 +48,7 @@
 , OpenGL
 , audiofile
 , libiconv
-, withStatic ? false
+, withStatic ? stdenv.hostPlatform.isMinGW
   # passthru.tests
 , testers
 }: