Merge pull request #2265 from nspcc-dev/fix-win-bild
Makefile: use GOEXE to build on windows
This commit is contained in:
commit
00929be712
1 changed files with 1 additions and 6 deletions
7
Makefile
7
Makefile
|
@ -1,12 +1,7 @@
|
|||
BRANCH = "master"
|
||||
REPONAME = "neo-go"
|
||||
NETMODE ?= "privnet"
|
||||
GOOS ?= $(shell go env GOOS)
|
||||
EXTENSION=
|
||||
ifeq ($(GOOS),windows)
|
||||
EXTENSION=".exe"
|
||||
endif
|
||||
BINARY=./bin/neo-go$(EXTENSION)
|
||||
BINARY=./bin/neo-go$(shell go env GOEXE)
|
||||
DESTDIR = ""
|
||||
SYSCONFIGDIR = "/etc"
|
||||
BINDIR = "/usr/bin"
|
||||
|
|
Loading…
Reference in a new issue