Makefile GOBIN to use absolute path

This commit is contained in:
Adrià Cidre 2018-03-01 17:18:12 +01:00 committed by Ivan Daniluk
parent f52a38249f
commit dea43dc4ed
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ endif
CGO_CFLAGS=-I/$(JAVA_HOME)/include -I/$(JAVA_HOME)/include/darwin CGO_CFLAGS=-I/$(JAVA_HOME)/include -I/$(JAVA_HOME)/include/darwin
BUILD_TAGS = BUILD_TAGS =
GOBIN = build/bin GOBIN=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))build/bin
GO ?= latest GO ?= latest
XGOVERSION ?= 1.9.2 XGOVERSION ?= 1.9.2
XGOIMAGE = statusteam/xgo:$(XGOVERSION) XGOIMAGE = statusteam/xgo:$(XGOVERSION)