From ff8162d01409db34893de98bd840a51c5f13e257 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 15 May 2018 07:35:59 -0700 Subject: [PATCH] sh_configure.bzl: FreeBSD is also a known platform Change-Id: I51ffe838d8c0e067f8e5ab3a6aef18e1ad063638 PiperOrigin-RevId: 196666303 --- tools/sh/sh_configure.bzl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/sh/sh_configure.bzl b/tools/sh/sh_configure.bzl index 7ba056c6cb7bb1..cfae3271b0a6a1 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")