소스 검색

Makefile: set CGO_ENABLED=1

This is required for building the guardiand binary
cs 2 년 전
부모
커밋
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" \