farbfeld: fix cross-compilation
commitb1c58be1ac6ed732c4b0ef7d4781ab52d7a6a09b
authorNikolay Korotkiy <sikmir@gmail.com>
dateSat 13 Nov 2021, 15:34 (5 years ago)
parent8d88d51
pkgs/development/libraries/farbfeld/default.nix+2
@@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
1212 buildInputs = [ libpng libjpeg ];
1313 nativeBuildInputs = [ makeWrapper ];
1414
15+ makeFlags = [ "CC:=$(CC)" ];
16+
1517 installFlags = [ "PREFIX=$(out)" ];
1618 postInstall = ''
1719 wrapProgram "$out/bin/2ff" --prefix PATH : "${file}/bin"