Merge pull request #13656 from carlocab/patchelf-rpath

linux/keg_relocate: remove patchelf exemption
This commit is contained in:
Carlo Cabrera 2022-08-06 02:42:12 +08:00 committed by GitHub
commit 336335abe5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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|