formula_installer: set HOMEBREW_RELOCATE_RPATHS
This enables `RPATH` relocation upon pouring bottles. Part of #11329.
This commit is contained in:
parent
5b4c4417c4
commit
bf4ad449bb
@ -1156,7 +1156,11 @@ class FormulaInstaller
|
|||||||
end
|
end
|
||||||
|
|
||||||
skip_linkage = formula.bottle_specification.skip_relocation?
|
skip_linkage = formula.bottle_specification.skip_relocation?
|
||||||
keg.replace_placeholders_with_locations tab.changed_files, skip_linkage: skip_linkage
|
# TODO: Remove `with_env` when bottles are built with RPATH relocation enabled
|
||||||
|
# https://github.com/Homebrew/brew/issues/11329
|
||||||
|
with_env(HOMEBREW_RELOCATE_RPATHS: "1") do
|
||||||
|
keg.replace_placeholders_with_locations tab.changed_files, skip_linkage: skip_linkage
|
||||||
|
end
|
||||||
|
|
||||||
# fill in missing/outdated parts of the tab
|
# fill in missing/outdated parts of the tab
|
||||||
# keep in sync with Tab#to_bottle_json
|
# keep in sync with Tab#to_bottle_json
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user