From a2554b6dae6342dc64f83bb1cfeadfd43380c333 Mon Sep 17 00:00:00 2001 From: Sean Link Date: Mon, 26 Feb 2024 12:13:38 -0700 Subject: [PATCH] SDL2: improve mingw support Part of a larger effort to add mingw support for qtmultimedia. ffmpeg will fail to compile without this change. --- pkgs/development/libraries/SDL2/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/SDL2/default.nix b/pkgs/development/libraries/SDL2/default.nix index 7b82a7344f50..1aac55d6ef9e 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 }: