From 4b18165b53a21ab83179a304d03c7b39301c8de7 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Thu, 16 Dec 2021 15:20:29 +0800 Subject: [PATCH] SDL_image: use pkg-config --- pkgs/development/libraries/SDL_image/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/SDL_image/default.nix b/pkgs/development/libraries/SDL_image/default.nix index d6424575a764..30f71bd3e520 100644 --- a/pkgs/development/libraries/SDL_image/default.nix +++ b/pkgs/development/libraries/SDL_image/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, fetchpatch, SDL, libpng, libjpeg, libtiff, giflib, libXpm }: +{ lib, stdenv, fetchurl, fetchpatch, SDL, libpng, libjpeg, libtiff, giflib, libXpm, pkg-config }: stdenv.mkDerivation rec { pname = "SDL_image"; @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { "--disable-tif-shared" ] ++ lib.optional stdenv.isDarwin "--disable-sdltest"; + nativeBuildInputs = [ pkg-config ]; buildInputs = [ SDL libpng libjpeg libtiff giflib libXpm ]; meta = with lib; {