diff --git a/CHANGELOG.md b/CHANGELOG.md index 36598fb89be..a273c255b3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Makefile b/Makefile index 90e19f081b2..1c2cd8912c9 100644 --- a/Makefile +++ b/Makefile @@ -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" && \