diff options
author | Piotr Sikora <piotrsikora@google.com> | 2016-08-29 02:32:12 -0700 |
---|---|---|
committer | Piotr Sikora <piotrsikora@google.com> | 2016-08-29 02:32:12 -0700 |
commit | b4f8c7814a4c1b343f84965407a5a0ae4939a100 (patch) | |
tree | d1f81628dfe1d25ca0374b407db1cf9256eae0cc /BUILD | |
parent | d7c4da8ad07234cb96d9ac37403ccea2ee637717 (diff) | |
download | brotli-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-- | BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -86,6 +86,7 @@ cc_library( srcs = [":enc_sources"], hdrs = [":enc_headers"], copts = STRICT_C_OPTIONS, + linkopts = ["-lm"], deps = [":brotli_common"], ) |