fpc should not use lib64-located ld-linux.so..

svn path=/nixpkgs/trunk/; revision=24645
This commit is contained in:
Michael Raskin 2010-11-10 16:38:22 +00:00
parent 7905af1137
commit 7da1dc10d9

View File

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
preConfigure =
if stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux" then ''
sed -e "s@'/lib/ld-linux[^']*'@'''@" -i fpcsrc/compiler/systems/t_linux.pas
sed -e "s@'/lib64/ld-linux[^']*'@'''@" -i fpcsrc/compiler/systems/t_linux.pas
'' else "";
makeFlags = "NOGDB=1";