aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/BUILD')
-rw-r--r--tensorflow/core/BUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/core/BUILD b/tensorflow/core/BUILD
index ad660e0100..8d3ea3999b 100644
--- a/tensorflow/core/BUILD
+++ b/tensorflow/core/BUILD
@@ -1251,7 +1251,7 @@ cc_library(
"platform/tracing.h",
],
copts = tf_copts(),
- defines = tf_additional_lib_defines(),
+ defines = tf_additional_lib_defines() + ["SNAPPY"],
linkopts = select({
"//tensorflow:freebsd": [],
"//conditions:default": ["-ldl"],
@@ -1262,6 +1262,7 @@ cc_library(
":protos_all_cc",
"//third_party/eigen3",
"//tensorflow/core/platform/default/build_config:platformlib",
+ "@snappy",
"@zlib_archive//:zlib",
],
)