Fix a couple more

This commit is contained in:
Douglas Eichelberger 2025-09-07 07:47:19 -07:00
parent f79415fc75
commit 94f099e303
No known key found for this signature in database
GPG Key ID: F90193CBD547EB81

View File

@ -244,7 +244,7 @@ module Superenv
end
# 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+)?$/) }
paths += keg_only_deps.reject { |dep| dep.name.match?(/^llvm(@\d+)?$/) }
.map(&:opt_lib)
paths << (HOMEBREW_PREFIX/"lib")