diff options
author | Klaus Aehlig <aehlig@google.com> | 2018-05-15 07:35:59 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-05-15 07:37:06 -0700 |
commit | ff8162d01409db34893de98bd840a51c5f13e257 (patch) | |
tree | 79c72abcc789db1c6815ef7061df70ee73087b85 /tools | |
parent | 6b3e482e010f5e256f43013f661ed9f67a723784 (diff) |
sh_configure.bzl: FreeBSD is also a known platform
Change-Id: I51ffe838d8c0e067f8e5ab3a6aef18e1ad063638
PiperOrigin-RevId: 196666303
Diffstat (limited to 'tools')
-rw-r--r-- | tools/sh/sh_configure.bzl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/sh/sh_configure.bzl b/tools/sh/sh_configure.bzl index 7ba056c6cb..cfae3271b0 100644 --- a/tools/sh/sh_configure.bzl +++ b/tools/sh/sh_configure.bzl @@ -56,6 +56,8 @@ def _sh_config_impl(repository_ctx): os_label = "@bazel_tools//platforms:linux" elif repository_ctx.os.name.startswith("mac"): os_label = "@bazel_tools//platforms:osx" + elif repository_ctx.os.name.startswith("freebsd"): + os_label = "@bazel_tools//platforms:freebsd" else: fail("Unknown OS") |