sccache: use `cargo install --prefix`

master
ilovezfs 2018-06-10 02:01:25 -07:00
parent 4a756b6dbc
commit 1247413d69
1 changed files with 1 additions and 2 deletions

View File

@ -18,8 +18,7 @@ class Sccache < Formula
ENV["OPENSSL_INCLUDE_DIR"] = Formula["openssl"].opt_include ENV["OPENSSL_INCLUDE_DIR"] = Formula["openssl"].opt_include
ENV["OPENSSL_LIB_DIR"] = Formula["openssl"].opt_lib ENV["OPENSSL_LIB_DIR"] = Formula["openssl"].opt_lib
system "cargo", "build", "--release", "--features", "all" system "cargo", "install", "--root", prefix, "--features", "all"
bin.install "target/release/sccache"
end end
test do test do