graphicsmagick: fix for darwin

Prior to this change, GraphicsMagick didn't work at all for me on Darwin, due to
dylib linking issues.
This commit is contained in:
Eric Bailey 2017-02-28 14:14:24 -06:00
parent 337356448a
commit fff88b814c
No known key found for this signature in database
GPG Key ID: 29E1B8D32C1635C4

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchpatch, bzip2, freetype, graphviz, ghostscript
, libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz, libX11
, libwebp, quantumdepth ? 8 }:
, libwebp, quantumdepth ? 8, fixDarwinDylibNames }:
let version = "1.3.25"; in
@ -53,7 +53,8 @@ stdenv.mkDerivation {
buildInputs =
[ bzip2 freetype ghostscript graphviz libjpeg libpng libtiff libX11 libxml2
zlib libtool libwebp
];
]
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
nativeBuildInputs = [ xz ];