Skip to content

Commit

Permalink
lighthouse: avoid vendored protobuf
Browse files Browse the repository at this point in the history
Co-authored-by: Carlo Cabrera <[email protected]>
  • Loading branch information
riptl and carlocab committed Aug 4, 2022
1 parent 07a1932 commit f3b6ed8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Formula/lighthouse.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@ class Lighthouse < Formula

depends_on "cmake" => :build
depends_on "rust" => :build
depends_on "protobuf"

uses_from_macos "llvm" => :build
uses_from_macos "zlib"

on_linux do
depends_on "llvm" => :build
end

def install
ENV["PROTOC_NO_VENDOR"] = "1"
system "cargo", "install", *std_cargo_args(path: "./lighthouse")
end

Expand Down

0 comments on commit f3b6ed8

Please sign in to comment.