Less aggressive LD_LIBRARY_PATH seems to avoid segfault
This commit is contained in:
parent
e860eef8f3
commit
f1daf24bea
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ let
|
|||
|
||||
C_INCLUDE_PATH = stdenv.lib.concatStringsSep ":" (map (p: "${p}/include") buildInputs);
|
||||
LIBRARY_PATH = stdenv.lib.concatStringsSep ":" (map (p: "${p}/lib") buildInputs);
|
||||
LD_LIBRARY_PATH = LIBRARY_PATH;
|
||||
LD_LIBRARY_PATH = stdenv.lib.concatStringsSep ":" (map (p: "${p}/lib")
|
||||
(stdenv.lib.filter (x : x.outPath != stdenv.gcc.libc.outPath or "") buildInputs));
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace Makefile \
|
||||
|
|
Loading…
Reference in a new issue