From dea43dc4ede96eca71a67c856948cae09a9f89a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Cidre?= Date: Thu, 1 Mar 2018 17:18:12 +0100 Subject: [PATCH] Makefile GOBIN to use absolute path --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2cba2a3ef..cc00a4607 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,8 @@ endif CGO_CFLAGS=-I/$(JAVA_HOME)/include -I/$(JAVA_HOME)/include/darwin BUILD_TAGS = -GOBIN = build/bin +GOBIN=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))build/bin + GO ?= latest XGOVERSION ?= 1.9.2 XGOIMAGE = statusteam/xgo:$(XGOVERSION)