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.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/misc/acrobat-reader/builder.sh b/pkgs/applications/misc/acrobat-reader/builder.sh
index d37919858f72..bcbdb85e9766 100644
--- a/pkgs/applications/misc/acrobat-reader/builder.sh
+++ b/pkgs/applications/misc/acrobat-reader/builder.sh
@@ -25,3 +25,5 @@ done
 patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
     --set-rpath $fullPath \
     $out/Reader/intellinux/bin/acroread
+
+substituteInPlace $out/bin/acroread --replace /lib:/usr/lib /no-such-path