aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--BUILD1
-rw-r--r--templates/BUILD.template3
2 files changed, 4 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index 9263918880..83130eabb3 100644
--- a/BUILD
+++ b/BUILD
@@ -1134,6 +1134,7 @@ objc_library(
],
deps = [
":gpr_objc",
+ "//external:libssl_objc",
],
sdk_dylibs = ["libz"],
)
diff --git a/templates/BUILD.template b/templates/BUILD.template
index fcfaef0d48..76f06c2caa 100644
--- a/templates/BUILD.template
+++ b/templates/BUILD.template
@@ -127,6 +127,9 @@ objc_library(
% for dep in lib.get("deps", []):
":${dep}_objc",
% endfor
+% if lib.get('secure', 'no') == 'yes':
+ "//external:libssl_objc",
+% endif
],
% if lib.get("baselib", false):
sdk_dylibs = ["libz"],