Skip to content

Commit

Permalink
Merge pull request #15623 from carlocab/openssl-no-vendor-comment
Browse files Browse the repository at this point in the history
extend/ENV/super: add comment for `OPENSSL_NO_VENDOR`
  • Loading branch information
carlocab authored Jul 4, 2023
2 parents ccad81b + b214ccd commit 00db165
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Homebrew/extend/ENV/super.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ def setup_build_environment(formula: nil, cc: nil, build_bottle: false, bottle_a
self["HOMEBREW_LIBRARY_PATHS"] = determine_library_paths
self["HOMEBREW_DEPENDENCIES"] = determine_dependencies
self["HOMEBREW_FORMULA_PREFIX"] = @formula.prefix unless @formula.nil?
# Prevent the OpenSSL rust crate from building a vendored OpenSSL.
# https://github.com/sfackler/rust-openssl/blob/994e5ff8c63557ab2aa85c85cc6956b0b0216ca7/openssl/src/lib.rs#L65
self["OPENSSL_NO_VENDOR"] = "1"

set_debug_symbols if debug_symbols
Expand Down

0 comments on commit 00db165

Please sign in to comment.