SDL2: pass explicit --without-x flag to configure

Fixes build on Darwin for me, possibly necessary on other systems as
well
This commit is contained in:
Spencer Whitt 2015-04-18 21:35:01 -04:00
parent 06cf9a9613
commit 948884ef11

View File

@ -19,6 +19,7 @@ let
--disable-oss --disable-x11-shared
--disable-pulseaudio-shared --disable-alsa-shared
${if alsaSupport then "--with-alsa-prefix=${attrs.alsaLib}/lib" else ""}
${if (!x11Support) then "--without-x" else ""}
'';
in
stdenv.mkDerivation rec {