
We can fix up libraries in `lib` not `libexec/lib` so add an extra check for that case. Inspired by https://github.com/Homebrew/homebrew-core/pull/53790#issuecomment-637622329
Library
This directory contains all the code run by the official brew
and brew cask
commands in Homebrew
and all formulae (package descriptions) in taps (repositories containing formulae) in Taps
subdirectories.