librespot: fix build where TARGET=HOST with rust 1.54

This commit is contained in:
heitbaum 2021-06-19 09:20:22 +00:00
parent 94edf01cc7
commit 6e497d6a35

View File

@ -25,6 +25,7 @@ PKG_MAINTAINER="Anton Voyl (awiouy)"
make_target() { make_target() {
. $(get_build_dir rust)/cargo/env . $(get_build_dir rust)/cargo/env
cargo build \ cargo build \
${CARGO_Z_TARGET_APPLIES_TO_HOST} \
--release \ --release \
--no-default-features \ --no-default-features \
--features "alsa-backend pulseaudio-backend with-dns-sd with-vorbis" --features "alsa-backend pulseaudio-backend with-dns-sd with-vorbis"