fix_install_names fix for 10.5

This commit is contained in:
Adam Vandenberg 2011-05-05 09:48:28 -07:00
parent f253cf3b10
commit 6c51402141

View File

@ -28,7 +28,7 @@ class Keg
id = install_names.shift
install_names.compact!
install_names.reject!{ |fn| fn =~ /^@(loader|executable)_path/ }
install_names.reject!{ |fn| fn.start_with? '/' }
install_names.reject!{ |fn| fn[0,1] == '/' }
unless install_names.empty? and id == dylib # avoid the work if possible
yield dylib, install_names