Merge pull request #34640 from knedlsepp/reduce-graphviz-impurity

graphviz: Explicitly specify libltdl directories
This commit is contained in:
Frederik Rietdijk 2018-02-09 19:01:19 +00:00 committed by GitHub
commit 8754d64185
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,10 @@ stdenv.mkDerivation rec {
CPPFLAGS = stdenv.lib.optionalString (xorg != null && stdenv.isDarwin)
"-I${cairo.dev}/include/cairo";
configureFlags = optional (xorg == null) "--without-x";
configureFlags = [
"--with-ltdl-lib=${libtool.lib}/lib"
"--with-ltdl-include=${libtool}/include"
] ++ stdenv.lib.optional (xorg == null) [ "--without-x" ];
postPatch = ''
for f in $(find . -name Makefile.in); do