Merge pull request #13240 from cho-m/linux-rpath-order
superenv: prioritize dependencies' `opt_lib` in Linux rpath
This commit is contained in:
commit
4cc306dacf
@ -40,8 +40,8 @@ module Superenv
|
|||||||
def determine_rpath_paths(formula)
|
def determine_rpath_paths(formula)
|
||||||
PATH.new(
|
PATH.new(
|
||||||
*formula&.lib,
|
*formula&.lib,
|
||||||
"#{HOMEBREW_PREFIX}/lib",
|
|
||||||
PATH.new(run_time_deps.map { |dep| dep.opt_lib.to_s }).existing,
|
PATH.new(run_time_deps.map { |dep| dep.opt_lib.to_s }).existing,
|
||||||
|
"#{HOMEBREW_PREFIX}/lib",
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user