forked from mirrors/nixpkgs
PowerPC environment is not pure, so patching is useless
svn path=/nixpkgs/trunk/; revision=6406
This commit is contained in:
parent
6bae4d7e4e
commit
98038f9592
|
@ -27,13 +27,3 @@ do
|
|||
rm $file
|
||||
fi
|
||||
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" {} \;
|
||||
|
|
Loading…
Reference in a new issue