Merge pull request #6577 from Homebrew/revert-6569-portable-ruby

Revert "Do not run patchelf on portable-ruby [Linux]"
This commit is contained in:
Mike McQuaid 2019-10-10 15:53:09 +01:00 committed by GitHub
commit e3cf9592d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,9 +3,10 @@
class Keg
def relocate_dynamic_linkage(relocation)
# Patching the dynamic linker of glibc breaks it.
return if name == "glibc"
# Patching patchelf using itself fails with "Text file busy" or SIGBUS.
# Patching portable-ruby causes brew tests to segfault.
return if ["glibc", "patchelf", "portable-ruby"].include?(name)
return if name == "patchelf"
elf_files.each do |file|
file.ensure_writable do