Skip to content

Commit

Permalink
Fix Makefile so weavewait* are statically linked
Browse files Browse the repository at this point in the history
 - the `-tags netgo` was being ignored by an interaction with the newer tags
  • Loading branch information
bboreham committed Dec 16, 2015
1 parent f880da4 commit c46febd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -92,11 +92,11 @@ $(SIGPROXY_EXE) $(DOCKERTLSARGS_EXE) $(DOCKERPLUGIN_EXE) $(TEST_TLS_EXE):

$(WEAVEWAIT_EXE): prog/weavewait/*.go net/*.go
go get -tags netgo ./$(@D)
go build $(BUILD_FLAGS) -tags "iface mcast" -o $@ ./$(@D)
go build $(BUILD_FLAGS) -tags "netgo iface mcast" -o $@ ./$(@D)

$(WEAVEWAIT_NOMCAST_EXE): prog/weavewait/*.go net/*.go
go get -tags netgo ./$(@D)
go build $(BUILD_FLAGS) -tags iface -o $@ ./$(@D)
go build $(BUILD_FLAGS) -tags "netgo iface" -o $@ ./$(@D)

$(WEAVEWAIT_NOOP_EXE): prog/weavewait/*.go
go get -tags netgo ./$(@D)
Expand Down

0 comments on commit c46febd

Please sign in to comment.