Browse Source

FreeBSD compatibility

Daniel Ylitalo 8 years ago
parent
commit
32fa55e666
1 changed files with 1 additions and 1 deletions
  1. 1 1
      BUILD

+ 1 - 1
BUILD

@@ -27,7 +27,7 @@ config_setting(
 # Android builds do not need to link in a separate pthread library.
 # Android builds do not need to link in a separate pthread library.
 LINK_OPTS = select({
 LINK_OPTS = select({
     ":android": [],
     ":android": [],
-    "//conditions:default": ["-lpthread"],
+    "//conditions:default": ["-lpthread", "-lm"],
 })
 })
 
 
 load(
 load(