linux/keg_relocate: patchelf dependency is conditional.
This is only needed if we're not using `patchelf.rb`. Partial fix for https://github.com/Homebrew/brew/issues/10784
This commit is contained in:
parent
1d0abd5401
commit
49642e4267
@ -80,7 +80,11 @@ class Keg
|
||||
end
|
||||
|
||||
def self.relocation_formulae
|
||||
@relocation_formulae ||= if HOMEBREW_PATCHELF_RB_WRITE
|
||||
[]
|
||||
else
|
||||
["patchelf"]
|
||||
end.freeze
|
||||
end
|
||||
|
||||
def self.bottle_dependencies
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user