SDL: fix OpenGL support

This commit is contained in:
Nikolay Amiantov 2016-09-03 15:20:53 +03:00
parent 4745341c69
commit fc0b40328d

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchpatch, pkgconfig, audiofile, libcap
, openglSupport ? false, mesa_glu
, openglSupport ? false, mesa_noglu, mesa_glu
, alsaSupport ? true, alsaLib
, x11Support ? true, libXext, libICE, libXrandr
, pulseaudioSupport ? true, libpulseaudio
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
optionals x11Support [ libXext libICE libXrandr ] ++
optional alsaSupport alsaLib ++
optional stdenv.isLinux libcap ++
optional openglSupport mesa_glu ++
optionals openglSupport [ mesa_noglu mesa_glu ] ++
optional pulseaudioSupport libpulseaudio ++
optional stdenv.isDarwin Cocoa;