Merge pull request #12359 from Bo98/no-recursive-missing-libs

os/linux/elf: don't report missing libraries to dependents
This commit is contained in:
Michka Popoff 2021-11-01 19:38:18 +01:00 committed by GitHub
commit 714d4b1868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,8 +133,6 @@ module ELFShim
match.captures.compact.first match.captures.compact.first
end.compact end.compact
@dylibs = ldd_paths.select do |ldd_path| @dylibs = ldd_paths.select do |ldd_path|
next true unless ldd_path.start_with? "/"
needed.include? File.basename(ldd_path) needed.include? File.basename(ldd_path)
end end
end end