Patch neither glibc nor glibc@* using patchelf
Patching the dynamic linker of glibc breaks it.
This commit is contained in:
parent
0b14b6d76d
commit
2ad3f0a089
@ -6,7 +6,7 @@ require "compilers"
|
|||||||
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"
|
return if name == "glibc" || name.start_with?("glibc@")
|
||||||
|
|
||||||
# Patching patchelf fails with "Text file busy" or SIGBUS.
|
# Patching patchelf fails with "Text file busy" or SIGBUS.
|
||||||
return if name == "patchelf"
|
return if name == "patchelf"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user