Skip to content
This repository was archived by the owner on Apr 15, 2020. It is now read-only.

Commit 05017ab

Browse files
committed
Fix windows cross-compile
1 parent c27ea78 commit 05017ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ $(DISTS): dist-dir
7878

7979
# windows builds
8080
get-windows-dependencies:
81-
go get github.com/Microsoft/go-winio
82-
go get golang.org/x/sys/windows
81+
GOOS=windows go get github.com/Microsoft/go-winio golang.org/x/sys/windows
8382

8483
$(DIST_DIR)${BINARY_NAME}_windows_x86.exe: get-windows-dependencies
8584
GOOS=windows GOARCH=386 GO386=sse2 $(GOBUILD) ${LDFLAGS} -o $@ reception.go

0 commit comments

Comments
 (0)