graphviz: Explicitly specify libltdl directories
This should prevent the build from picking up /usr/lib/libltdl.so in non-chroot builds on non-nixOS.
This commit is contained in:
parent
d7000b03cd
commit
ceeacd5205
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