mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 13:39:47 -05:00
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.
This commit is contained in:
1 parent
96fb03750e
commit
586271e442
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user