aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/proto_text
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-06-30 12:10:50 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-06-30 13:19:20 -0700
commit533d891cf64f1ad4b8470dd31141b1b1f642bae4 (patch)
tree6df152243aca23488f8df140f05e720c1e8c294d /tensorflow/tools/proto_text
parent6062f26f626555ca980c716d52c6204e17745503 (diff)
Merge changes from github.
Change: 126335170
Diffstat (limited to 'tensorflow/tools/proto_text')
-rw-r--r--tensorflow/tools/proto_text/BUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/tensorflow/tools/proto_text/BUILD b/tensorflow/tools/proto_text/BUILD
index 19f14748c5..980a6d651e 100644
--- a/tensorflow/tools/proto_text/BUILD
+++ b/tensorflow/tools/proto_text/BUILD
@@ -42,6 +42,13 @@ cc_library(
name = "gen_proto_text_functions_lib",
srcs = ["gen_proto_text_functions_lib.cc"],
hdrs = ["gen_proto_text_functions_lib.h"],
+ linkopts = [
+ "-lm",
+ "-lpthread",
+ ] + select({
+ "//tensorflow:darwin": [],
+ "//conditions:default": ["-lrt"],
+ }),
deps = [
"//tensorflow/core:lib",
],