Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2021-02-27 18:16:44 +00:00
committed by GitHub
45 changed files with 550 additions and 223 deletions
@@ -189,7 +189,10 @@ let
preFixup = ''
# We cannot use -exec since wrapProgram is a function but not a
# command.
for bin in $( find "$out" -executable -type f -not -path '*/languages/ruby/lib/gems/*' ); do
#
# jspawnhelper is executed from JVM, so it doesn't need to wrap it,
# and it breaks building OpenJDK (#114495).
for bin in $( find "$out" -executable -type f -not -path '*/languages/ruby/lib/gems/*' -not -name jspawnhelper ); do
if patchelf --print-interpreter "$bin" &> /dev/null || head -n 1 "$bin" | grep '^#!' -q; then
wrapProgram "$bin" \
--prefix LD_LIBRARY_PATH : "${runtimeLibraryPath}"