Skip to content

Commit

Permalink
linkage_checker: system framework links are harmless.
Browse files Browse the repository at this point in the history
These do not seem to cause runtime errors.

Fixes #9338
  • Loading branch information
MikeMcQuaid committed Nov 30, 2020
1 parent f5bd2ee commit 7228e60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Library/Homebrew/linkage_checker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,12 @@ def sort_by_formula_full_name!(arr)
def harmless_broken_link?(dylib)
# libgcc_s_* is referenced by programs that use the Java Service Wrapper,
# and is harmless on x86(_64) machines
[
return true if [
"/usr/lib/libgcc_s_ppc64.1.dylib",
"/opt/local/lib/libgcc/libgcc_s.1.dylib",
].include?(dylib)

dylib.start_with?("/System/Library/Frameworks/")
end

# Display a list of things.
Expand Down

0 comments on commit 7228e60

Please sign in to comment.