SDL: libcap is Linux only

This commit is contained in:
Spencer Whitt 2015-04-29 17:37:39 -04:00 committed by Michael Phillips
parent 61be2ceb27
commit 5a648474f2

View File

@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
buildInputs = let
notMingw = !(stdenv ? cross) || stdenv.cross.libc != "msvcrt";
in [ libcap ]
in stdenv.lib.optional stdenv.isLinux libcap
++ (stdenv.lib.optional notMingw audiofile);
nativeBuildInputs = [ pkgconfig ] ++