linux/keg_relocate: remove patchelf exemption

I don't think this is needed anymore. We probably needed this when we
used `patchelf` to do `RPATH` rewriting, but this is no longer the case.
This commit is contained in:
Carlo Cabrera 2022-08-06 00:26:48 +08:00
parent ff9c250019
commit 2d95b9acda
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -8,9 +8,6 @@ class Keg
# Patching the dynamic linker of glibc breaks it.
return if name.match? Version.formula_optionally_versioned_regex(:glibc)
# Patching patchelf fails with "Text file busy" or SIGBUS.
return if name == "patchelf"
old_prefix, new_prefix = relocation.replacement_pair_for(:prefix)
elf_files.each do |file|