SDL2_gfx: fix cross

This commit is contained in:
Alyssa Ross 2021-11-01 09:54:36 +00:00
parent b4ef544bcd
commit a726db968c
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -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;