mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
Merge pull request #34640 from knedlsepp/reduce-graphviz-impurity
graphviz: Explicitly specify libltdl directories
This commit is contained in:
commit
8754d64185
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue