Patch neither glibc nor glibc@* using patchelf

Patching the dynamic linker of glibc breaks it.
This commit is contained in:
Shaun Jackman 2022-01-02 13:44:13 -08:00
parent 0b14b6d76d
commit 2ad3f0a089

View File

@ -6,7 +6,7 @@ require "compilers"
class Keg
def relocate_dynamic_linkage(relocation)
# Patching the dynamic linker of glibc breaks it.
return if name == "glibc"
return if name == "glibc" || name.start_with?("glibc@")
# Patching patchelf fails with "Text file busy" or SIGBUS.
return if name == "patchelf"