SDL_net: use pkg-config

This commit is contained in:
Nick Cao 2021-12-16 15:21:55 +08:00 committed by ehmry
parent 4b18165b53
commit 1c93b89046

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, SDL }:
{ lib, stdenv, fetchurl, SDL, pkg-config }:
stdenv.mkDerivation rec {
pname = "SDL_net";
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ SDL ];
meta = with lib; {