Pass libcap as SDL input to fix the build
This commit is contained in:
parent
08f0e0208a
commit
c9c2aa5ced
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, audiofile
|
{ stdenv, fetchurl, pkgconfig, audiofile, libcap
|
||||||
, openglSupport ? false, mesa ? null
|
, openglSupport ? false, mesa ? null
|
||||||
, alsaSupport ? true, alsaLib ? null
|
, alsaSupport ? true, alsaLib ? null
|
||||||
, x11Support ? true, x11 ? null, libXrandr ? null
|
, x11Support ? true, x11 ? null, libXrandr ? null
|
||||||
@ -31,7 +31,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = let
|
buildInputs = let
|
||||||
notMingw = !(stdenv ? cross) || stdenv.cross.libc != "msvcrt";
|
notMingw = !(stdenv ? cross) || stdenv.cross.libc != "msvcrt";
|
||||||
in stdenv.lib.optional notMingw audiofile;
|
in [ libcap ]
|
||||||
|
++ (stdenv.lib.optional notMingw audiofile);
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ] ++
|
nativeBuildInputs = [ pkgconfig ] ++
|
||||||
stdenv.lib.optional openglSupport [ mesa ];
|
stdenv.lib.optional openglSupport [ mesa ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user