Skip to content

Commit

Permalink
新增freebsd 编译条件
Browse files Browse the repository at this point in the history
  • Loading branch information
guonaihong committed Jan 21, 2024
1 parent 8c21199 commit a0a462a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api_kqueue.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build darwin
// +build darwin
//go:build darwin || freebsd
// +build darwin freebsd

package greatws

Expand Down
3 changes: 3 additions & 0 deletions autobahn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ all:
# windows amd64
#GOOS=windows GOARCH=amd64 go build -o autobahn-server-windows-amd64.exe ./autobahn-server.go

# freebsd amd64
GOOS=freebsd GOARCH=amd64 go build -o autobahn-server-windows-amd64.exe ./autobahn-server.go

# mac, arm64
#GOOS=darwin GOARCH=arm64 go build -o autobahn-client-darwin-arm64 ./autobahn-client.go
# linux amd64
Expand Down

0 comments on commit a0a462a

Please sign in to comment.