mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
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:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user