When fixing references to regular dylibs, it is sufficient to search for a file with the same base name, e.g., `libpoppler.56.dylib`. However, if the broken reference is to a framework, we also have to take into account preceding path components to find a suitable match. Framework references (according to the `dyld` man page) come in two flavors: - `XXX.framework/Versions/YYY/XXX` (with version) - `XXX.framework/XXX` (without version) The change here is to detect these patterns and to make sure that the fixed library reference has the same suffix as the broken one. Prior to this fix, a broken framework reference (if originating in a sister framework) to `QtXml.framework/Versions/5/QtXml` would have been rewritten to `<qt5-keg>/lib/QtXml.framework/QtXml`. In practice, this mostly works, but is technically incorrect and thus creates problems like in Homebrew/homebrew#42191. With this fix, the framework reference is correctly rewritten to `<qt5-keg>/lib/QtXml.framework/Versions/5/QtXml`. Closes Homebrew/homebrew#45494. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Homebrew
Features, usage and installation instructions are summarised on the homepage.
What Packages Are Available?
- Type 
brew searchfor a list. - Or visit braumeister.org to browse packages online.
 - Or use 
brew search --descto browse packages from the command line. 
More Documentation
brew help, man brew or check our documentation.
Troubleshooting
First, please run brew update and brew doctor.
Second, read the Troubleshooting Checklist.
If you don't read these it will take us far longer to help you with your problem.
Security
Please report security issues to security@brew.sh.
This is our PGP key which is valid until June 17, 2016.
- Key ID: 
0xE33A3D3CCE59E297 - Fingerprint: 
C657 8F76 2E23 441E C879 EC5C E33A 3D3C CE59 E297 - Full key: https://keybase.io/homebrew/key.asc
 
Who Are You?
Homebrew's current maintainers are Misty De Meo, Andrew Janke, Xu Cheng, Mike McQuaid, Baptiste Fontaine, Brett Koonce, Dominyk Tiller, Tim Smith and Alex Dunn.
Homebrew was originally created by Max Howell.
License
Code is under the BSD 2 Clause (NetBSD) license. Documentation is under the Creative Commons Attribution license.
Sponsors
Our CI infrastructure was paid for by our Kickstarter supporters.
Our CI infrastructure is hosted by The Positive Internet Company.
Our bottles (binary packages) are hosted by Bintray.
