From 9493cbb80a29ef0db0351529cf0267b147d1ff37 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Sun, 31 Oct 2021 17:03:29 +0000 Subject: [PATCH] os/linux/elf: don't report missing libraries to dependents --- Library/Homebrew/os/linux/elf.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/Library/Homebrew/os/linux/elf.rb b/Library/Homebrew/os/linux/elf.rb index 042e9fbb60..f151d23b57 100644 --- a/Library/Homebrew/os/linux/elf.rb +++ b/Library/Homebrew/os/linux/elf.rb @@ -133,8 +133,6 @@ module ELFShim match.captures.compact.first end.compact @dylibs = ldd_paths.select do |ldd_path| - next true unless ldd_path.start_with? "/" - needed.include? File.basename(ldd_path) end end