Skip to content

Commit

Permalink
Merge pull request #3448 from svenstaro/fix-install-capi-lib
Browse files Browse the repository at this point in the history
Fix make install-capi-lib
  • Loading branch information
syrusakbary authored Jan 9, 2024
2 parents ff335cb + 8d4c65b commit b7fe775
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ Lots of new things in the release!
## Fixed

- [#3439](https://github.com/wasmerio/wasmer/pull/3439) Use GNU/Linux frame registration code for FreeBSD too
- [#3448](https://github.com/wasmerio/wasmer/pull/3448) Fix `make install-capi-lib` install paths

## 3.1.0 - 12/12/2022

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ install-capi-headers:

# Currently implemented for linux only. TODO
install-capi-lib:
pkgver=$$($(CARGO_BINARY) pkgid --manifest-path lib/c-api/Cargo.toml | sed --posix 's/^.*wasmer-c-api:\([0-9.]*\)$\/\1/') && \
pkgver=$$($(CARGO_BINARY) pkgid --manifest-path lib/c-api/Cargo.toml | sed 's/^.*wasmer-c-api@//') && \
shortver="$${pkgver%.*}" && \
majorver="$${shortver%.*}" && \
install -Dm755 target/release/libwasmer.so "$(DESTDIR)/lib/libwasmer.so.$$pkgver" && \
Expand Down

0 comments on commit b7fe775

Please sign in to comment.