Make config/Makefile use user Go installation.
Otherwise it will fail to "go get" the "github.com/golang/protobuf" package because its dir already exists in the vendored packages, but the copy isn't a git repository.
This commit is contained in:
parent
5643587cc9
commit
464524fa44
|
@ -18,5 +18,5 @@ SUFFIXES:
|
|||
include ../Makefile.INCLUDE
|
||||
|
||||
generated/config.pb.go: config.proto
|
||||
$(GO) get github.com/golang/protobuf/protoc-gen-go
|
||||
go get github.com/golang/protobuf/protoc-gen-go
|
||||
$(PROTOC) --proto_path=$(PREFIX)/include:. --go_out=generated/ config.proto
|
||||
|
|
Loading…
Reference in New Issue