diff --git a/bazel/curl.BUILD b/bazel/curl.BUILD index db8f9fd395f87..41d2b06f76578 100644 --- a/bazel/curl.BUILD +++ b/bazel/curl.BUILD @@ -444,10 +444,9 @@ cc_library( }), visibility = ["//visibility:public"], deps = [ - # Use the same version of zlib and c-ares that gRPC does. - "//external:madler_zlib", - "//external:cares", ":define-ca-bundle-location", + "@com_github_cares_cares//:ares", + "@zlib", ] + select({ ":windows": [], "//conditions:default": [