Skip to content
Snippets Groups Projects
Commit 832a08ab authored by Martin Afanasjew's avatar Martin Afanasjew
Browse files

extend/os/mac/keg_relocate: fix weird omission

parent eba437e1
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ class Keg
def self.file_linked_libraries(file, string)
# Check dynamic library linkage. Importantly, do not run otool on static
# libraries, which will falsely report "linkage" to themselves.
if file.mach_o_executable? || file.dylib? || file.mach_o_bund
if file.mach_o_executable? || file.dylib? || file.mach_o_bundle?
file.dynamically_linked_libraries.select { |lib| lib.include? string }
else
[]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment