extend/os/mac/keg_relocate: fix weird omission
This commit is contained in:
parent
eba437e153
commit
832a08abcd
@ -126,7 +126,7 @@ class Keg
|
|||||||
def self.file_linked_libraries(file, string)
|
def self.file_linked_libraries(file, string)
|
||||||
# Check dynamic library linkage. Importantly, do not run otool on static
|
# Check dynamic library linkage. Importantly, do not run otool on static
|
||||||
# libraries, which will falsely report "linkage" to themselves.
|
# 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 }
|
file.dynamically_linked_libraries.select { |lib| lib.include? string }
|
||||||
else
|
else
|
||||||
[]
|
[]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user