extend/ENV/super: set OPENSSL_NO_VENDOR

Many (~60) formulae in Homebrew/core set this manually to prevent the
`openssl` Rust crate from vendoring OpenSSL.

Let's make handling this simpler by setting it globally instead.
This commit is contained in:
Carlo Cabrera 2023-07-01 04:16:20 +08:00
parent 9a482dea2b
commit c3be703e02
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -86,6 +86,7 @@ module Superenv
self["HOMEBREW_LIBRARY_PATHS"] = determine_library_paths
self["HOMEBREW_DEPENDENCIES"] = determine_dependencies
self["HOMEBREW_FORMULA_PREFIX"] = @formula.prefix unless @formula.nil?
self["OPENSSL_NO_VENDOR"] = "1"
set_debug_symbols if debug_symbols