Просмотр исходного кода

Makefile: set CGO_ENABLED=1

This is required for building the guardiand binary
cs 2 лет назад
Родитель
Сommit
fc39351b71
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Makefile

+ 1 - 0
Makefile

@@ -35,6 +35,7 @@ generate: dirs
 node: $(BIN)/guardiand
 
 .PHONY: $(BIN)/guardiand
+$(BIN)/guardiand: CGO_ENABLED=1
 $(BIN)/guardiand: dirs generate
 	@# The go-ethereum and celo-blockchain packages both implement secp256k1 using the exact same header, but that causes duplicate symbols.
 	cd node && go build -ldflags "-X github.com/certusone/wormhole/node/pkg/version.version=${VERSION} -extldflags -Wl,--allow-multiple-definition" \