Merge pull request #11375 from carlocab/relocate-dylib-id
extend/os/mac/keg_relocate: fix post-bottling dylib ID relocation
This commit is contained in:
commit
526c06da0c
@ -22,8 +22,8 @@ class Keg
|
||||
mach_o_files.each do |file|
|
||||
file.ensure_writable do
|
||||
if file.dylib?
|
||||
id = relocated_name_for(dylib_id_for(file), relocation)
|
||||
change_dylib_id(id, file) if id
|
||||
id = relocated_name_for(file.dylib_id, relocation)
|
||||
change_dylib_id(id, file)
|
||||
end
|
||||
|
||||
each_install_name_for(file) do |old_name|
|
||||
|
Loading…
x
Reference in New Issue
Block a user