From c3be703e02ac812e7533801f1f6aaef60c9a572a Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Sat, 1 Jul 2023 04:16:20 +0800 Subject: [PATCH] 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. --- Library/Homebrew/extend/ENV/super.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index 734eccb95d..6417269249 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -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