Skip to content

Commit

Permalink
Fix LDFLAGS for Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
divVerent committed Jan 13, 2022
1 parent 71b9cf7 commit 76fa8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ GO_FLAGS += $(patsubst %,-gcflags=all=%,$(GO_GCFLAGS))
# Configure the Go linker.
GO_LDFLAGS =
ifeq ($(shell $(GO) env GOOS),windows)
GO_LDFLAGS += -H windowsgui
GO_LDFLAGS += -H=windowsgui
endif
GO_FLAGS += $(patsubst %,-ldflags=all=%,$(GO_LDFLAGS))

Expand Down

0 comments on commit 76fa8a5

Please sign in to comment.