From f6d7d6a37ac9f8a184794d08c5b8a43bdc24e75a Mon Sep 17 00:00:00 2001 From: Eugene Bujak Date: Mon, 10 Sep 2018 15:27:46 +0300 Subject: [PATCH] Fix coredns build failure. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 88c65401..ba4df120 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,8 @@ coredns: coredns_plugin/*.go dnsfilter/*.go grep '^dnsfilter:' $(GOPATH)/src/github.com/coredns/coredns/plugin.cfg ## used to check that plugin.cfg was successfully edited by sed cd $(GOPATH)/src/github.com/coredns/coredns && GOOS=$(NATIVE_GOOS) GOARCH=$(NATIVE_GOARCH) go generate cd $(GOPATH)/src/github.com/coredns/coredns && go get -v -d . - cd $(GOPATH)/src/github.com/coredns/coredns && go build -o $(mkfile_dir)/coredns + cd $(GOPATH)/src/github.com/coredns/coredns && make + cd $(GOPATH)/src/github.com/coredns/coredns && mv coredns $(mkfile_dir)/coredns clean: rm -vf coredns AdguardDNS