openssl: ignore PERL env variable (#1549)
Should help prevent edge cases as seen in https://github.com/Homebrew/homebrew-core/issues/1545.
This commit is contained in:
parent
54663ccc5b
commit
5e9e922396
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,10 @@ class Openssl < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
# OpenSSL will prefer the PERL environment variable if set over $PATH
|
||||
# which can cause some odd edge cases & isn't intended. Unset for safety.
|
||||
ENV.delete("PERL")
|
||||
|
||||
# Load zlib from an explicit path instead of relying on dyld's fallback
|
||||
# path, which is empty in a SIP context. This patch will be unnecessary
|
||||
# when we begin building openssl with no-comp to disable TLS compression.
|
||||
|
|
Loading…
Reference in a new issue