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
|
end
|
||||||
|
|
||||||
def self.relocation_formulae
|
def self.relocation_formulae
|
||||||
["patchelf"]
|
@relocation_formulae ||= if HOMEBREW_PATCHELF_RB_WRITE
|
||||||
|
[]
|
||||||
|
else
|
||||||
|
["patchelf"]
|
||||||
|
end.freeze
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.bottle_dependencies
|
def self.bottle_dependencies
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user