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
@@ -23,7 +23,8 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ SDL2 libogg libvorbis fluidsynth smpeg2 flac libmodplug ];
configureFlags = [ "--disable-music-ogg-shared" ]
++ lib.optional enableNativeMidi "--enable-music-native-midi-gpl";
++ lib.optional enableNativeMidi "--enable-music-native-midi-gpl"
++ lib.optionals stdenv.isDarwin [ "--disable-sdltest" "--disable-smpegtest" ];
meta = with stdenv.lib; {
description = "SDL multi-channel audio mixer library";