From 9ae4611eac5296d6cb52840409f75f88c547e683 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Mon, 17 Oct 2016 15:23:45 +0200 Subject: [PATCH] fix file name for openbsd --- tools/build/env.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/build/env.go b/tools/build/env.go index 7e8db05d8..69086060c 100644 --- a/tools/build/env.go +++ b/tools/build/env.go @@ -100,6 +100,14 @@ func getSuffix(os GoOS, arch GoArch) string { case Arm: suffix = "-freebsd-arm" } + case OpenBSD: + switch arch { + case X86: + suffix = "-openbsd-32" + case Amd64: + suffix = "-openbsd-64" + } } + return suffix }