summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Ostuni2020-05-19 19:11:03 +0200
committerDario Ostuni2020-05-19 19:11:03 +0200
commita4c1b141f45f6a8b3e719f6db69c1f80969e25fc (patch)
treea06fb94b3760519eda3f4d5e4f7bce8fe536a37a
parent35affeccf960bbc9108698c7fa33d5d2e988962c (diff)
downloadaur-a4c1b141f45f6a8b3e719f6db69c1f80969e25fc.tar.gz
Add libwasmtime.so
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b6a4c506369..bf68f2801d3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,10 +20,12 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver"
- cargo build --release
+ cargo build --release --bin wasmtime
+ cargo build --release --manifest-path crates/c-api/Cargo.toml
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm755 "target/release/lib${pkgname}.so" "$pkgdir/usr/lib/lib${pkgname}.so"
}