Skip to content

Commit

Permalink
update lib path
Browse files Browse the repository at this point in the history
  • Loading branch information
liam.lai committed Nov 8, 2024
1 parent 3ae0ff2 commit 9fb6102
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@ builds:
binary: babylond
hooks:
pre:
- mkdir -p /tmp/libwasmvm
- wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvm.x86_64.so -O /tmp/libwasmvm/libwasmvm_muslc.x86_64.so
- sudo wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvm.x86_64.so -O /lib/libwasmvm_muslc.x86_64.so
goos:
- linux
goarch:
- amd64
env:
- LD_LIBRARY_PATH=/tmp/libwasmvm:$LD_LIBRARY_PATH
- CGO_LDFLAGS="-L/tmp/libwasmvm -lwasmvm_muslc.x86_64"
- COSMWASM_VERSION=v2.1.3
- GO111MODULE=on
flags:
Expand Down

0 comments on commit 9fb6102

Please sign in to comment.