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:
parent
337356448a
commit
fff88b814c
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, bzip2, freetype, graphviz, ghostscript
|
{ stdenv, fetchurl, fetchpatch, bzip2, freetype, graphviz, ghostscript
|
||||||
, libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz, libX11
|
, libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz, libX11
|
||||||
, libwebp, quantumdepth ? 8 }:
|
, libwebp, quantumdepth ? 8, fixDarwinDylibNames }:
|
||||||
|
|
||||||
let version = "1.3.25"; in
|
let version = "1.3.25"; in
|
||||||
|
|
||||||
@ -53,7 +53,8 @@ stdenv.mkDerivation {
|
|||||||
buildInputs =
|
buildInputs =
|
||||||
[ bzip2 freetype ghostscript graphviz libjpeg libpng libtiff libX11 libxml2
|
[ bzip2 freetype ghostscript graphviz libjpeg libpng libtiff libX11 libxml2
|
||||||
zlib libtool libwebp
|
zlib libtool libwebp
|
||||||
];
|
]
|
||||||
|
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||||
|
|
||||||
nativeBuildInputs = [ xz ];
|
nativeBuildInputs = [ xz ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user