badtouch: update openssl env var and comment
This commit is contained in:
parent
371a5c80b6
commit
54824673da
1 changed files with 3 additions and 3 deletions
|
@ -15,9 +15,9 @@ class Badtouch < Formula
|
|||
depends_on "openssl"
|
||||
|
||||
def install
|
||||
# Prevent cargo from linking against a different library
|
||||
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", "."
|
||||
man1.install "docs/badtouch.1"
|
||||
|
|
Loading…
Reference in a new issue