From 69e1673a81d75da6d2213075c9427d0afd7b1813 Mon Sep 17 00:00:00 2001 From: rmnull Date: Fri, 15 May 2020 04:36:15 +0530 Subject: [PATCH] skip needed_libraries check when patchelf is the bottle being installed. --- Library/Homebrew/os/linux/elf.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/os/linux/elf.rb b/Library/Homebrew/os/linux/elf.rb index 244a22e114..11603dee71 100644 --- a/Library/Homebrew/os/linux/elf.rb +++ b/Library/Homebrew/os/linux/elf.rb @@ -132,6 +132,8 @@ module ELFShim elsif DevelopmentTools.locate "patchelf" needed_libraries_using_patchelf path else + return [nil, []] if path.basename.to_s == "patchelf" + raise "patchelf must be installed: brew install patchelf" end end