diff --git a/CHANGELOG.md b/CHANGELOG.md index fe6b3c64..661fdff5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -66,6 +66,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (build) [\#237](https://github.com/Finschia/finschia/pull/237) rearrange Dockerfile and Makefile commands * (build) [\#241](https://github.com/Finschia/finschia/pull/241) Update golang version to 1.20 * (build) [\#259](https://github.com/Finschia/finschia/pull/259) change default build to be compiled as static binary +* (build) [\#284](https://github.com/Finschia/finschia/pull/284) use curl instead of wget on MacOS ### Docs * (docs) [\#281](https://github.com/Finschia/finschia/pull/281) Update guide for static build on CentOS diff --git a/Makefile b/Makefile index acebeb22..5542267b 100644 --- a/Makefile +++ b/Makefile @@ -89,7 +89,7 @@ ifeq ($(LINK_STATICALLY),true) @mkdir -p $(TEMPDIR)/lib ifeq (",$(wildcard $(TEMPDIR)/lib/libwasmvm*.a)") ifeq ($(OS_NAME),darwin) - wget https://github.com/Finschia/wasmvm/releases/download/$(WASMVM_VERSION)/libwasmvmstatic_darwin.a -O $(TEMPDIR)/lib/libwasmvmstatic_darwin.a + curl -L https://github.com/Finschia/wasmvm/releases/download/$(WASMVM_VERSION)/libwasmvmstatic_darwin.a -o $(TEMPDIR)/lib/libwasmvmstatic_darwin.a else ifeq ($(ARCH),amd64) wget https://github.com/Finschia/wasmvm/releases/download/$(WASMVM_VERSION)/libwasmvm_muslc.x86_64.a -O $(TEMPDIR)/lib/libwasmvm_muslc.a