1.3.0: Support Homebrew on Apple Silicon by default
GitHub: #50
To make installation easier for users of Homebrew on Apple Silicon, add /opt/homebrew
to the default paths searched when trying to find the underlying re2 library. While doing so, add an extra fallback to /usr
(instead of only searching /usr/local
).
Note we still search /usr/local
first to avoid accidentally changing behaviour for existing users (e.g. suddenly compiling against a different version of re2 in /usr
).