SDL: libcap is Linux only

This commit is contained in:
Spencer Whitt 2015-04-29 17:37:39 -04:00
parent 27f50a486c
commit b37d5864d6

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 ] ++