Merge pull request #17104 from Homebrew/llvm-library-paths
extend/ENV/super: avoid adding `llvm` to `HOMEBREW_LIBRARY_PATHS`
This commit is contained in:
commit
e3e927f688
@ -229,7 +229,9 @@ module Superenv
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
paths << keg_only_deps.map(&:opt_lib)
|
# Don't add `llvm` to library paths; this leads to undesired linkage to LLVM's `libunwind`
|
||||||
|
paths << keg_only_deps.reject { |dep| dep.name.match?(/^llvm(@\d+)?$/) }
|
||||||
|
.map(&:opt_lib)
|
||||||
paths << (HOMEBREW_PREFIX/"lib")
|
paths << (HOMEBREW_PREFIX/"lib")
|
||||||
|
|
||||||
paths += homebrew_extra_library_paths
|
paths += homebrew_extra_library_paths
|
||||||
|
Loading…
x
Reference in New Issue
Block a user