aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Woodruff2017-07-22 20:52:52 -0400
committerGitHub2017-07-22 20:52:52 -0400
commit24f47976db4e72bcdd73ddaa1b2c379dce917cd5 (patch)
treef0c677376759b9a06c5ec6b5faaabc8acd668dd2
parent9747bc397a43f082aaaec24d4583ec465349eead (diff)
parent7c9b170ea0b3420c1a58e1426eec5ffaf84c56c8 (diff)
downloadbrew-24f47976db4e72bcdd73ddaa1b2c379dce917cd5.tar.bz2
Merge pull request #2929 from woodruffw/master
linkage_checker: Whitelist another harmless dylib
-rw-r--r--Library/Homebrew/os/mac/linkage_checker.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/os/mac/linkage_checker.rb b/Library/Homebrew/os/mac/linkage_checker.rb
index f332c2d7a..786827852 100644
--- a/Library/Homebrew/os/mac/linkage_checker.rb
+++ b/Library/Homebrew/os/mac/linkage_checker.rb
@@ -118,9 +118,12 @@ class LinkageChecker
# Whether or not dylib is a harmless broken link, meaning that it's
# okay to skip (and not report) as broken.
def harmless_broken_link?(dylib)
- # libgcc_s_ppc64 is referenced by programs that use the Java Service Wrapper,
+ # libgcc_s_* is referenced by programs that use the Java Service Wrapper,
# and is harmless on x86(_64) machines
- ["/usr/lib/libgcc_s_ppc64.1.dylib"].include?(dylib)
+ [
+ "/usr/lib/libgcc_s_ppc64.1.dylib",
+ "/opt/local/lib/libgcc/libgcc_s.1.dylib",
+ ].include?(dylib)
end
# Display a list of things.