Skip to content

Commit

Permalink
libgdiplus: fix install on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Feb 7, 2017
1 parent ce9d30e commit 3a526de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/libraries/libgdiplus/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ stdenv.mkDerivation rec {
]
++ stdenv.lib.optional stdenv.isDarwin Carbon;

postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
ln -s $out/lib/libgdiplus.0.dylib $out/lib/libgdiplus.so
'';

meta = {
platforms = stdenv.lib.platforms.unix;
};
Expand Down

0 comments on commit 3a526de

Please sign in to comment.