2024-08-09 18:18:09 +01:00
|
|
|
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
|
2023-11-15 19:52:21 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class LinkageChecker
|
|
|
|
undef system_libraries_exist_in_cache?
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def system_libraries_exist_in_cache?
|
|
|
|
# In macOS Big Sur and later, system libraries do not exist on-disk and instead exist in a cache.
|
|
|
|
MacOS.version >= :big_sur
|
|
|
|
end
|
|
|
|
end
|