3
0
Fork 0
forked from mirrors/nixpkgs

PowerPC environment is not pure, so patching is useless

svn path=/nixpkgs/trunk/; revision=6406
This commit is contained in:
Martin Bravenboer 2006-08-31 02:06:31 +00:00
parent 6bae4d7e4e
commit 98038f9592

View file

@ -27,13 +27,3 @@ do
rm $file rm $file
fi fi
done done
# Set the dynamic linker.
rpath=
for i in $libraries; do
rpath=$rpath${rpath:+:}$i/lib
done
glibc=$(cat $NIX_GCC/nix-support/orig-glibc)
find $out -type f -perm +100 \
-exec patchelf --interpreter $glibc/lib/ld-linux.so.* \
--set-rpath "$rpath" {} \;