Merge pull request #3735 from sgreenstein/patch-1

Don't pass -lpthread and -lm on Windows
pull/3736/head
Feng Xiao 7 years ago committed by GitHub
commit c4083bb3d1
  1. 4
      BUILD

@ -44,9 +44,11 @@ config_setting(
}, },
) )
# Android builds do not need to link in a separate pthread library. # Android and Windows builds do not need to link in a separate pthread library.
LINK_OPTS = select({ LINK_OPTS = select({
":android": [], ":android": [],
":windows": [],
":windows_msvc": [],
"//conditions:default": ["-lpthread", "-lm"], "//conditions:default": ["-lpthread", "-lm"],
}) })

Loading…
Cancel
Save