tectonic: update openssl env var and comment
This commit is contained in:
parent
87181a96cb
commit
695ab26362
1 changed files with 4 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue