diff options
Diffstat (limited to 'third_party/protobuf')
-rw-r--r-- | third_party/protobuf/3.0.0/BUILD | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/third_party/protobuf/3.0.0/BUILD b/third_party/protobuf/3.0.0/BUILD index 2e6f89401d..be7694feaf 100644 --- a/third_party/protobuf/3.0.0/BUILD +++ b/third_party/protobuf/3.0.0/BUILD @@ -87,7 +87,13 @@ COPTS = [ "-Wno-error=unused-variable", ] -LINK_OPTS = ["-lpthread"] +LINK_OPTS = select({ + "//src:freebsd": [ + "-lpthread", + "-lm", + ], + "//conditions:default": ["-lpthread"], +}) cc_library( name = "protobuf_lite", |