Skip to content

Commit

Permalink
Use @envoy//bazel:boringssl (#228)
Browse files Browse the repository at this point in the history
Signed-off-by: Dhi Aurrahman <[email protected]>

Signed-off-by: Dhi Aurrahman <[email protected]>
Co-authored-by: [email protected] <Dhi Aurrahman>
  • Loading branch information
dio authored Nov 11, 2022
1 parent 177233a commit 52f0180
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ def boost():
urls = [
"https://github.com/nelhage/rules_boost/archive/%s.tar.gz" % _RULES_BOOST_COMMIT,
],
patches = ["//bazel:rules_boost.patch"],
patch_args = ["-p1"],
)

def com_github_redis_hiredis():
Expand Down
14 changes: 14 additions & 0 deletions bazel/rules_boost.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# To make sure we use the provided @envoy//bazel:boringssl.
diff --git a/BUILD.boost b/BUILD.boost
index 4354973..1c11525 100644
--- a/BUILD.boost
+++ b/BUILD.boost
@@ -481,7 +481,7 @@ cc_library(
visibility = ["//visibility:public"],
deps = [
":asio",
- "@openssl//:ssl",
+ "@envoy//bazel:boringssl",
],
)

0 comments on commit 52f0180

Please sign in to comment.