Skip to content

Commit

Permalink
grpc: uses zlib from macos, install .so files on linux
Browse files Browse the repository at this point in the history
Closes #67474.

Signed-off-by: Carlo Cabrera <[email protected]>
Signed-off-by: BrewTestBot <[email protected]>
  • Loading branch information
iMichka authored and BrewTestBot committed Dec 26, 2020
1 parent d3c17cd commit f0284b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Formula/grpc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class Grpc < Formula
depends_on "protobuf"
depends_on "re2"

uses_from_macos "zlib"

def install
mkdir "cmake/build" do
args = %w[
Expand Down Expand Up @@ -63,7 +65,7 @@ def install
system "cmake", *args
system "make", "grpc_cli"
bin.install "grpc_cli"
lib.install Dir["libgrpc++_test_config*.dylib"]
lib.install Dir["libgrpc++_test_config*.{dylib,so}.*"]
end
end

Expand Down

0 comments on commit f0284b9

Please sign in to comment.