linkage_checker: Whitelist another harmless dylib
libgcc_s.1.dylib is a variation on libgcc_s_ppc64.1.dylib.
This commit is contained in:
parent
9747bc397a
commit
7c9b170ea0
@ -118,9 +118,12 @@ class LinkageChecker
|
|||||||
# Whether or not dylib is a harmless broken link, meaning that it's
|
# Whether or not dylib is a harmless broken link, meaning that it's
|
||||||
# okay to skip (and not report) as broken.
|
# okay to skip (and not report) as broken.
|
||||||
def harmless_broken_link?(dylib)
|
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
|
# 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
|
end
|
||||||
|
|
||||||
# Display a list of things.
|
# Display a list of things.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user