to fix segfault when using -l option.

svn path=/nixpkgs/trunk/; revision=25432
This commit is contained in:
Karn Kallio 2011-01-06 03:11:25 +00:00
parent f81bc24790
commit bebcd96c1d

View File

@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
patches = [ ./readlinefix.patch ];
preConfigure = ''
sed -i 's/program.*save/static &/' bc/load.c
'';
configureFlags = [ "--with-readline" ];
buildInputs = [flex readline];