keg: the argument to find_dylib is already a Pathname
This commit is contained in:
parent
3662a2765d
commit
c31512fe33
@ -137,7 +137,7 @@ class Keg
|
|||||||
end
|
end
|
||||||
|
|
||||||
def find_dylib name
|
def find_dylib name
|
||||||
lib.find { |pn| break pn if pn.basename == Pathname.new(name) }
|
lib.find { |pn| break pn if pn.basename == name }
|
||||||
end
|
end
|
||||||
|
|
||||||
def mach_o_files
|
def mach_o_files
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user