Browse Source

Merge pull request #2630 from blodan/master

FreeBSD compatibility
Jisi Liu 8 years ago
parent
commit
72b82e6875
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.
 LINK_OPTS = select({
     ":android": [],
-    "//conditions:default": ["-lpthread"],
+    "//conditions:default": ["-lpthread", "-lm"],
 })
 
 load(