SDL2_net: fix cross

This commit is contained in:
Alyssa Ross 2021-11-01 09:54:39 +00:00
parent 48c8bf50d7
commit cf7eec0fc5
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, pkg-config, darwin, fetchurl, SDL2 }:
stdenv.mkDerivation rec {
pname = "SDL2_net";
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "08cxc1bicmyk89kiks7izw1rlx5ng5n6xpy8fy0zxni3b9z8mkhm";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = lib.optional stdenv.isDarwin darwin.libobjc;
configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";