Unverified Commit c5728e97 authored by t4ccer's avatar t4ccer
Browse files

sdl2-compat: fix cross build on mingw

parent dc963787
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 ];