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:
parent
55ab04435f
commit
3842294972
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue