Merge pull request #10787 from MikeMcQuaid/no-patchelf-needed

linux/keg_relocate: patchelf dependency is conditional.
This commit is contained in:
Michka Popoff 2021-03-05 15:24:53 +01:00 committed by GitHub
commit 2466afdd83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,11 @@ class Keg
end
def self.relocation_formulae
["patchelf"]
@relocation_formulae ||= if HOMEBREW_PATCHELF_RB_WRITE
[]
else
["patchelf"]
end.freeze
end
def self.bottle_dependencies