summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-02-13 12:25:08 -0600
committerbaude <bbaude@redhat.com>2019-02-13 12:25:08 -0600
commitd2601eeaa304bb9f4d6c8b2d976b051ced6d5027 (patch)
tree1475491bb791052a66c4936ff01d42bb11c2b9e4 /Makefile
parentee27c39f85507993c0a3dfe3c4dfab4c7b7e5e00 (diff)
downloadpodman-d2601eeaa304bb9f4d6c8b2d976b051ced6d5027.tar.gz
podman-d2601eeaa304bb9f4d6c8b2d976b051ced6d5027.tar.bz2
podman-d2601eeaa304bb9f4d6c8b2d976b051ced6d5027.zip
build varlink without GOPATH
when gopath was not explicitly set, make would fail due to the varlink generator. this symlink in the makefile addresses that. fixes: #1842 Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f73792980..f634fcc81 100644
--- a/Makefile
+++ b/Makefile
@@ -94,6 +94,7 @@ help:
ifeq ("$(wildcard $(GOPKGDIR))","")
mkdir -p "$(GOPKGBASEDIR)"
ln -sf "$(CURDIR)" "$(GOPKGBASEDIR)"
+ ln -sf "$(CURDIR)/vendor/github.com/varlink" "$(FIRST_GOPATH)/src/github.com/varlink"
endif
touch $@