superenv: prioritize dependencies' opt_lib in Linux rpath
This commit is contained in:
parent
d3799896ae
commit
b6905fe0f9
@ -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