zola: set OPENSSL_DIR on linux

master
Michka Popoff 2020-11-23 22:23:10 +01:00
parent 032e86df03
commit 534f41c70d
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ class Zola < Formula
end
def install
on_linux do
ENV["OPENSSL_DIR"] = Formula["openssl@1.1"].opt_prefix
end
system "cargo", "install", *std_cargo_args
bash_completion.install "completions/zola.bash"