Fix graphviz building on darwin
This commit is contained in:
parent
23f43527e1
commit
37b25a712e
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libpng, libjpeg, expat, libXaw
|
||||
, yacc, libtool, fontconfig, pango, gd, xlibs, gts, gettext
|
||||
, yacc, libtool, fontconfig, pango, gd, xlibs, gts, gettext, cairo
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./fix-broken-memcp-signature.patch ];
|
||||
|
||||
CPPFLAGS = stdenv.lib.optionalString (stdenv.system == "x86_64-darwin") "-I${cairo}/include/cairo";
|
||||
|
||||
configureFlags =
|
||||
[ "--with-pngincludedir=${libpng}/include"
|
||||
"--with-pnglibdir=${libpng}/lib"
|
||||
|
Loading…
Reference in New Issue
Block a user