dev-libs/libsignal-ffi: fix Cargo target directory

Following recent cargo eclass changes
(27d469a2114b4ad0b3e682854c50c806753eb472) the Cargo target directory
unconditionally contains $(rust_abi) in its path.

Closes: https://bugs.gentoo.org/937602
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2024-08-09 16:23:40 +02:00
parent f840bd03ca
commit fec6701bed
3 changed files with 3 additions and 21 deletions

View File

@@ -39,11 +39,5 @@ src_unpack() {
}
src_install() {
if use debug; then
TARGET=debug
else
TARGET=release
fi
dolib.a "${WORKDIR}/${P/-ffi/}/target/${TARGET}/${PN/-/_}.a"
dolib.a "${WORKDIR}/${P/-ffi/}/$(cargo_target_dir)/${PN/-/_}.a"
}

View File

@@ -39,11 +39,5 @@ src_unpack() {
}
src_install() {
if use debug; then
TARGET=debug
else
TARGET=release
fi
dolib.a "${WORKDIR}/${P/-ffi/}/target/${TARGET}/${PN/-/_}.a"
dolib.a "${WORKDIR}/${P/-ffi/}/$(cargo_target_dir)/${PN/-/_}.a"
}

View File

@@ -39,11 +39,5 @@ src_unpack() {
}
src_install() {
if use debug; then
TARGET=debug
else
TARGET=release
fi
dolib.a "${WORKDIR}/${P/-ffi/}/target/${TARGET}/${PN/-/_}.a"
dolib.a "${WORKDIR}/${P/-ffi/}/$(cargo_target_dir)/${PN/-/_}.a"
}