sdl2-compat: fix cross build on mingw (#435897)

This commit is contained in:
Peder Bergebakken Sundt
2025-08-24 14:04:23 +02:00
committed by GitHub
+4 -2
View File
@@ -20,6 +20,8 @@
SDL_compat,
ffmpeg,
qemu,
x11Support ? !stdenv.hostPlatform.isAndroid && !stdenv.hostPlatform.isWindows,
}:
let
# tray support on sdl3 pulls in gtk3, which is quite an expensive dependency.
@@ -44,8 +46,8 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
sdl3'
libX11
];
]
++ lib.optional x11Support libX11;
checkInputs = [ libGL ];