Skip to content

Commit bcfc777

Browse files
author
Andreas Burri
committed
Feat: Add FreeBSD amd64 support
1 parent caa64ad commit bcfc777

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# PLATFORMS := darwin/amd64 darwin/arm64 freebsd/amd64 linux/386 linux/amd64 linux/arm linux/arm64 linux/mipsle windows/386 windows/amd64 windows/arm windows/arm64
2-
PLATFORMS := linux/amd64 linux/386 linux/arm linux/arm64 linux/mipsle linux/riscv64 windows/amd64
2+
PLATFORMS := linux/amd64 linux/386 linux/arm linux/arm64 linux/mipsle linux/riscv64 windows/amd64 freebsd/amd64
33
temp = $(subst /, ,$@)
44
os = $(word 1, $(temp))
55
arch = $(word 2, $(temp))

src/mod/sshprox/embed.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
//go:build (windows && amd64) || (linux && mipsle) || (linux && riscv64)
2-
// +build windows,amd64 linux,mipsle linux,riscv64
1+
//go:build (windows && amd64) || (linux && mipsle) || (linux && riscv64) || (freebsd && amd64)
2+
// +build windows,amd64 linux,mipsle linux,riscv64 freebsd,amd64
33

44
package sshprox
55

66
import "embed"
77

88
/*
9-
Bianry embedding
9+
Binary embedding
1010
1111
Make sure when compile, gotty binary exists in static.gotty
1212
*/

0 commit comments

Comments
 (0)