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
+2 -1
View File
@@ -55,7 +55,8 @@ stdenv.mkDerivation rec {
configureFlags = [
"--disable-oss"
] ++ optional (!x11Support) "--without-x"
++ optional alsaSupport "--with-alsa-prefix=${alsaLib.out}/lib";
++ optional alsaSupport "--with-alsa-prefix=${alsaLib.out}/lib"
++ optional stdenv.isDarwin "--disable-sdltest";
postInstall = ''
moveToOutput lib/libSDL2main.a "$dev"