Unverified Commit fcb0b3f2 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

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

parents b8c4c9da c5728e97
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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 ];