Patched Guile to load srfi .so files correctly from its own directory.

svn path=/nixpkgs/trunk/; revision=12120
This commit is contained in:
Michael Raskin 2008-06-16 14:27:26 +00:00
parent 442218cf2c
commit 65b252a0df

View File

@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/guile-snarf --prefix PATH : "${gawk}/bin"
'';
preBuild = ''
sed -e '/lt_dlinit/a lt_dladdsearchdir("'$out/lib'");' -i libguile/dynl.c
'';
doCheck = true;
setupHook = ./setup-hook.sh;