tealdeer: set OPENSSL_DIR on Linux

master
Michka Popoff 2020-11-23 22:51:12 +01:00
parent 7ad0969e51
commit 56c13defb6
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ class Tealdeer < Formula
conflicts_with "tldr", because: "both install `tldr` binaries"
def install
on_linux do
ENV["OPENSSL_DIR"] = Formula["openssl@1.1"].opt_prefix
end
system "cargo", "install", *std_cargo_args
bash_completion.install "bash_tealdeer" => "tldr"
zsh_completion.install "zsh_tealdeer" => "_tldr"