tectonic: update openssl env var and comment

This commit is contained in:
commitay 2018-09-03 14:55:39 +10:00
parent 87181a96cb
commit 695ab26362

View file

@ -24,9 +24,10 @@ class Tectonic < Formula
def install
ENV.cxx11
ENV["MACOSX_DEPLOYMENT_TARGET"] = MacOS.version # needed for CLT-only builds
ENV["OPENSSL_INCLUDE_DIR"] = Formula["openssl"].opt_include
ENV["DEP_OPENSSL_INCLUDE"] = 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", "."
pkgshare.install "tests"