mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
SDL: libcap is Linux only
This commit is contained in:
parent
61be2ceb27
commit
5a648474f2
@ -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 ] ++
|
||||
|
Loading…
Reference in New Issue
Block a user