libgdiplus: fix install on darwin

This commit is contained in:
Vincent Laporte 2017-02-07 19:00:48 +00:00
parent ce9d30e734
commit 3a526deaee

View File

@ -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;
};