Skip to content
Snippets Groups Projects
Commit f2f24e2f authored by Ming Zhao's avatar Ming Zhao
Browse files

Let grpc target depend on //external:zlib so that "-lz" or a real zlib

parent 30bc5d3f
No related branches found
No related tags found
No related merge requests found
......@@ -400,6 +400,7 @@ cc_library(
],
deps = [
"//external:libssl",
"//external:zlib",
":gpr",
],
)
......
......@@ -49,6 +49,8 @@ def get_deps(target_dict):
deps.append("//external:protobuf_compiler")
if target_dict['name'] == 'grpc++_unsecure' or target_dict['name'] == 'grpc++':
deps.append("//external:protobuf_clib")
elif target_dict['name'] == 'grpc':
deps.append("//external:zlib")
for d in target_dict.get('deps', []):
if d.find('//') == 0 or d[0] == ':':
deps.append(d)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment