1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

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 {