Merge pull request #6577 from Homebrew/revert-6569-portable-ruby
Revert "Do not run patchelf on portable-ruby [Linux]"
This commit is contained in:
commit
e3cf9592d1
@ -3,9 +3,10 @@
|
|||||||
class Keg
|
class Keg
|
||||||
def relocate_dynamic_linkage(relocation)
|
def relocate_dynamic_linkage(relocation)
|
||||||
# Patching the dynamic linker of glibc breaks it.
|
# Patching the dynamic linker of glibc breaks it.
|
||||||
|
return if name == "glibc"
|
||||||
|
|
||||||
# Patching patchelf using itself fails with "Text file busy" or SIGBUS.
|
# Patching patchelf using itself fails with "Text file busy" or SIGBUS.
|
||||||
# Patching portable-ruby causes brew tests to segfault.
|
return if name == "patchelf"
|
||||||
return if ["glibc", "patchelf", "portable-ruby"].include?(name)
|
|
||||||
|
|
||||||
elf_files.each do |file|
|
elf_files.each do |file|
|
||||||
file.ensure_writable do
|
file.ensure_writable do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user