SDL2: disable sdltest on darwin

Darwin headless will hang when trying to run the SDL test program.
This commit is contained in:
Matthew Bauer
2018-06-06 19:19:30 -04:00
parent dfc4744afd
commit 08c6c6beb4
6 changed files with 13 additions and 3 deletions
@@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
buildInputs = [ SDL2 ]
++ stdenv.lib.optional stdenv.isDarwin darwin.libobjc;
configureFlags = if stdenv.isi686 || stdenv.isx86_64 then "--enable-mmx" else "--disable-mmx";
configureFlags = [(if stdenv.isi686 || stdenv.isx86_64 then "--enable-mmx" else "--disable-mmx")]
++ stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
meta = with stdenv.lib; {
description = "SDL graphics drawing primitives and support functions";