Skip to content

Commit

Permalink
build: change the wasmvm directory for static build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiyong Ha authored and zemyblue committed Mar 3, 2022
1 parent 548cb90 commit 63fac71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builders/scripts/build-static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ go mod download

# build wasmvm static
cd "$(go list -f "{{ .Dir }}" -m github.com/line/wasmvm)" || exit 1
cd ./libwasmvm
RUSTFLAGS='-C target-feature=-crt-static' cargo build --release --example staticlib
mv -f target/release/examples/libstaticlib.a /usr/lib/libwasmvm_static.a
rm -rf target
Expand Down

0 comments on commit 63fac71

Please sign in to comment.