Skip to content

Commit

Permalink
build varlink without GOPATH
Browse files Browse the repository at this point in the history
when gopath was not explicitly set, make would fail due
to the varlink generator.  this symlink in the makefile
addresses that.

fixes: containers#1842

Signed-off-by: baude <[email protected]>
  • Loading branch information
baude committed Feb 13, 2019
1 parent ee27c39 commit d2601ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@

Expand Down

0 comments on commit d2601ee

Please sign in to comment.