libgdiplus: build on darwin

This commit is contained in:
Patrick Mahoney 2016-01-23 21:49:50 -06:00
parent b39c51a362
commit 9790094f23
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, glib, cairo, fontconfig
{ stdenv, fetchurl, pkgconfig, glib, cairo, Carbon, fontconfig
, libtiff, giflib, libungif, libjpeg, libpng, monoDLLFixer
, libXrender, libexif }:
@ -25,5 +25,6 @@ stdenv.mkDerivation rec {
buildInputs =
[ pkgconfig glib cairo fontconfig libtiff giflib libungif
libjpeg libpng libXrender libexif
];
]
++ stdenv.lib.optional stdenv.isDarwin Carbon;
}

View File

@ -7267,7 +7267,9 @@ let
libgcrypt_1_5 = callPackage ../development/libraries/libgcrypt/1.5.nix { };
libgdiplus = callPackage ../development/libraries/libgdiplus { };
libgdiplus = callPackage ../development/libraries/libgdiplus {
inherit (darwin.apple_sdk.frameworks) Carbon;
};
libgksu = callPackage ../development/libraries/libgksu { };