summary refs log tree commit diff
path: root/pkgs/applications/misc/acrobat-reader/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/acrobat-reader/builder.sh')
-rw-r--r--pkgs/applications/misc/acrobat-reader/builder.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/applications/misc/acrobat-reader/builder.sh b/pkgs/applications/misc/acrobat-reader/builder.sh
index 0add42a85959..d37919858f72 100644
--- a/pkgs/applications/misc/acrobat-reader/builder.sh
+++ b/pkgs/applications/misc/acrobat-reader/builder.sh
@@ -17,13 +17,11 @@ if test -n "$fastStart"; then
     rm -v $(ls $out/Reader/intellinux/plug_ins/*.api | grep -v SearchFind)
 fi
 
-glibc=$(cat $NIX_GCC/nix-support/orig-glibc)
-
 fullPath=
 for i in $libPath; do
     fullPath=$fullPath${fullPath:+:}$i/lib
 done
 
-patchelf --interpreter $glibc/lib/ld-linux.so.* \
+patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
     --set-rpath $fullPath \
     $out/Reader/intellinux/bin/acroread