diff options
Diffstat (limited to 'pkgs/applications/editors/eclipse/builder.sh')
-rwxr-xr-x | pkgs/applications/editors/eclipse/builder.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/applications/editors/eclipse/builder.sh b/pkgs/applications/editors/eclipse/builder.sh index d781b585783e..8d693b025ffc 100755 --- a/pkgs/applications/editors/eclipse/builder.sh +++ b/pkgs/applications/editors/eclipse/builder.sh @@ -18,10 +18,9 @@ rpath= for i in $libraries; do rpath=$rpath${rpath:+:}$i/lib done -glibc=$(cat $NIX_GCC/nix-support/orig-glibc) find $out \( -type f -a -perm +0100 \) \ -print \ - -exec patchelf --interpreter $glibc/lib/ld-linux.so.* \ + -exec patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \ --set-rpath "$rpath" {} \; #find $out \( -type f -a -name "*.so*" \) \ # -print \ |