Only look for libraries in lib if it exists
Fixes Homebrew/homebrew#40630.
This commit is contained in:
parent
a047fc08d6
commit
357648a8c4
@ -148,7 +148,7 @@ class Keg
|
||||
end
|
||||
|
||||
def find_dylib name
|
||||
lib.find { |pn| break pn if pn.basename == name }
|
||||
lib.find { |pn| break pn if pn.basename == name } if lib.directory?
|
||||
end
|
||||
|
||||
def mach_o_files
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user