diff options
| author | Jack Nagel | 2012-05-23 00:57:18 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-05-30 22:32:48 -0500 |
| commit | 7bb1894df53e983a305cbdd1c98e433833059263 (patch) | |
| tree | f482f77e38399b331fc43282cc0ed494e26e337a /Library/Homebrew | |
| parent | a7861783828182425c2dd7ec8dbc716843ff0f48 (diff) | |
| download | brew-7bb1894df53e983a305cbdd1c98e433833059263.tar.bz2 | |
fix_install_names: use Mach-O methods to find dylibs
Some libraries do not have the .dylib extension (e.g. Qt framework
libs), but need to have their install names rewritten to prevent other
packages from breaking due to upgrades. Use the new Pathname#dylib?
instead.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/keg_fix_install_names.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb index 16abf2880..9ffd349fc 100644 --- a/Library/Homebrew/keg_fix_install_names.rb +++ b/Library/Homebrew/keg_fix_install_names.rb @@ -50,7 +50,7 @@ class Keg if (lib = join 'lib').directory? lib.find do |pn| next if pn.symlink? or pn.directory? - dylibs << pn if pn.extname == '.dylib' + dylibs << pn if pn.dylib? end end dylibs |
