Merge pull request #9348 from MikeMcQuaid/harmless-system-frameworks
linkage_checker: system framework links are harmless.
This commit is contained in:
commit
f496ef685f
@ -285,10 +285,12 @@ class LinkageChecker
|
|||||||
def harmless_broken_link?(dylib)
|
def harmless_broken_link?(dylib)
|
||||||
# libgcc_s_* 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
|
||||||
[
|
return true if [
|
||||||
"/usr/lib/libgcc_s_ppc64.1.dylib",
|
"/usr/lib/libgcc_s_ppc64.1.dylib",
|
||||||
"/opt/local/lib/libgcc/libgcc_s.1.dylib",
|
"/opt/local/lib/libgcc/libgcc_s.1.dylib",
|
||||||
].include?(dylib)
|
].include?(dylib)
|
||||||
|
|
||||||
|
dylib.start_with?("/System/Library/Frameworks/")
|
||||||
end
|
end
|
||||||
|
|
||||||
# Display a list of things.
|
# Display a list of things.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user