diff --git a/pkgs/development/compilers/jdk/ibm-builder.sh b/pkgs/development/compilers/jdk/ibm-builder.sh index 2040dde035d..b78dac6163b 100644 --- a/pkgs/development/compilers/jdk/ibm-builder.sh +++ b/pkgs/development/compilers/jdk/ibm-builder.sh @@ -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" {} \;