Skip to content

Commit 7c83d9c

Browse files
authored
Fix goreleaser config for linux arm (#1219)
* fix goreleaser config * fix goreleaser config for linux arm64
1 parent f68e8c8 commit 7c83d9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.goreleaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ builds:
105105
binary: elysd
106106
hooks:
107107
pre:
108-
- wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvm_muslc.aarch64.a -O /usr/lib/aarch64-linux-gnu/libwasmvm_muslc.a
108+
- wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvm_muslc.aarch64.a -O /usr/lib/libwasmvm_muslc.aarch64.a
109109
goos:
110110
- linux
111111
goarch:
@@ -123,7 +123,7 @@ builds:
123123
- -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger,muslc,osusergo,pebbledb
124124
- -w -s
125125
- -linkmode=external
126-
- -extldflags '-Wl,-z,muldefs -static -lm'
126+
- -extldflags '-lwasmvm_muslc.aarch64 -Wl,-z,muldefs -static -lm -ldl'
127127
tags:
128128
- netgo
129129
- ledger

0 commit comments

Comments
 (0)