link graphviz with libc++ instead of nothing on darwin
This commit is contained in:
parent
ef8c8a3b7c
commit
4318329714
@ -38,11 +38,11 @@ stdenv.mkDerivation rec {
|
|||||||
]
|
]
|
||||||
++ stdenv.lib.optional (xorg == null) "--without-x";
|
++ stdenv.lib.optional (xorg == null) "--without-x";
|
||||||
|
|
||||||
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
substituteInPlace cmd/dot/Makefile.in --replace "-lstdc++" ""
|
for foo in cmd/dot/Makefile.in cmd/edgepaint/Makefile.in \
|
||||||
substituteInPlace cmd/edgepaint/Makefile.in --replace "-lstdc++" ""
|
cmd/mingle/Makefile.in plugin/gdiplus/Makefile.in; do
|
||||||
substituteInPlace cmd/mingle/Makefile.in --replace "-lstdc++" ""
|
substituteInPlace "$foo" --replace "-lstdc++" "-lc++"
|
||||||
substituteInPlace plugin/gdiplus/Makefile.in --replace "-lstdc++" ""
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user