Skip to content

Commit

Permalink
openjdk bootstrap: Fix rpath fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy committed Mar 7, 2018
1 parent 8f54d93 commit 47116c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/compilers/openjdk/bootstrap.nix
Expand Up @@ -45,7 +45,7 @@ let
find "$out" -type f -print0 | while IFS= read -r -d "" elf; do
isELF "$elf" || continue
patchelf --set-interpreter $(cat "${stdenv.cc}/nix-support/dynamic-linker") "$elf" || true
patchelf --set-rpath "${stdenv.cc.libc}/lib:$LIBDIRS" "$elf" || true
patchelf --set-rpath "${stdenv.cc.libc}/lib:${stdenv.cc.cc.lib}/lib:$LIBDIRS" "$elf" || true
done
# Temporarily, while NixOS's OpenJDK bootstrap tarball doesn't have PaX markings:
Expand Down

1 comment on commit 47116c2

@Ericson2314
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again!

Please sign in to comment.