build-style/cargo.sh: append configure_args to cargo install

Cargo will only activate the default features for a package.
Instead, pass the correct features to cargo install.
This commit is contained in:
travankor 2020-02-22 08:45:23 -07:00 committed by Leah Neukirchen
parent 55ab04435f
commit 3842294972

View file

@ -18,6 +18,6 @@ do_install() {
: ${make_cmd:=cargo}
${make_cmd} install --path . --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
--locked ${make_install_args}
--locked ${configure_args} ${make_install_args}
rm "${DESTDIR}"/usr/.crates.toml
}