sccache: update openssl env var and comment

This commit is contained in:
commitay 2018-09-03 14:55:38 +10:00
parent faa516a134
commit 62a197ed71

View file

@ -16,8 +16,9 @@ class Sccache < Formula
depends_on "openssl"
def install
ENV["OPENSSL_INCLUDE_DIR"] = Formula["openssl"].opt_include
ENV["OPENSSL_LIB_DIR"] = Formula["openssl"].opt_lib
# Ensure that the `openssl` crate picks up the intended library.
# https://crates.io/crates/openssl#manual-configuration
ENV["OPENSSL_DIR"] = Formula["openssl"].opt_prefix
system "cargo", "install", "--root", prefix, "--path", ".",
"--features", "all"