diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl
index 49f37ed1aba..05e98e9333d 100644
--- a/tensorflow/workspace.bzl
+++ b/tensorflow/workspace.bzl
@@ -149,7 +149,7 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""):
 
   native.bind(
     name = "boringssl_err_data_c",
-    actual = "@//" + path_prefix + "third_party/boringssl:err_data_c",
+    actual = tf_repo_name + "//third_party/boringssl:err_data_c",
   )
 
   native.new_git_repository(