SDL2_gfx: fix cross
This commit is contained in:
parent
b4ef544bcd
commit
a726db968c
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, darwin, fetchurl, SDL2 }:
|
{ lib, stdenv, darwin, fetchurl, pkg-config, SDL2 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "SDL2_gfx";
|
pname = "SDL2_gfx";
|
||||||
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0qk2ax7f7grlxb13ba0ll3zlm8780s7j8fmrhlpxzjgdvldf1q33";
|
sha256 = "0qk2ax7f7grlxb13ba0ll3zlm8780s7j8fmrhlpxzjgdvldf1q33";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ SDL2 ]
|
buildInputs = [ SDL2 ]
|
||||||
++ lib.optional stdenv.isDarwin darwin.libobjc;
|
++ lib.optional stdenv.isDarwin darwin.libobjc;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user