aboutsummaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorPiotr Sikora <piotrsikora@google.com>2016-08-29 02:32:12 -0700
committerPiotr Sikora <piotrsikora@google.com>2016-08-29 02:32:12 -0700
commitb4f8c7814a4c1b343f84965407a5a0ae4939a100 (patch)
treed1f81628dfe1d25ca0374b407db1cf9256eae0cc /BUILD
parentd7c4da8ad07234cb96d9ac37403ccea2ee637717 (diff)
downloadbrotli-b4f8c7814a4c1b343f84965407a5a0ae4939a100.zip
brotli-b4f8c7814a4c1b343f84965407a5a0ae4939a100.tar.gz
brotli-b4f8c7814a4c1b343f84965407a5a0ae4939a100.tar.bz2
Bazel: link ":brotli_enc" with -lm.
While this isn't strictly necessary with recent versions of Bazel (which unconditionally add -lm to linkopts), building Brotli with older versions of Bazel requires -lm to be added explicitly. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index 1c49ceb..31b0b3e 100644
--- a/BUILD
+++ b/BUILD
@@ -86,6 +86,7 @@ cc_library(
srcs = [":enc_sources"],
hdrs = [":enc_headers"],
copts = STRICT_C_OPTIONS,
+ linkopts = ["-lm"],
deps = [":brotli_common"],
)