Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
godsarmy committed Jan 5, 2025
1 parent d6952ca commit c9c8ee4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
GO ?= go

ifndef GOOS
GOOS := $(shell uname -s| tr '[:upper:]' '[:lower:]')
ifeq ($(OS), Windows_NT)
GOOS := windows
else
GOOS := $(shell uname -s| tr '[:upper:]' '[:lower:]')
endif
endif

ifndef GOARCH
Expand Down

0 comments on commit c9c8ee4

Please sign in to comment.