summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild')
-rw-r--r--net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild
index 729600d9b131..aef6d683129a 100644
--- a/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild
+++ b/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild
@@ -108,7 +108,14 @@ multilib_src_compile() {
}
multilib_src_test() {
- cargo_src_test --target="$(rust_abi)"
+ local cargoargs=(
+ --prefix=/usr
+ --libdir="/usr/$(get_libdir)"
+ --target="$(rust_abi)"
+ $(usex debug '--debug' '--release')
+ )
+
+ cargo ctest "${cargoargs[@]}" || die "cargo ctest failed"
}
multilib_src_install() {