Skip to content
Snippets Groups Projects
Commit 357648a8 authored by Jack Nagel's avatar Jack Nagel
Browse files

Only look for libraries in lib if it exists

Fixes Homebrew/homebrew#40630.
parent a047fc08
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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