mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
librespot: fix cross compile builds with bindgen sysroot prefix
This commit is contained in:
parent
ab95dc48e5
commit
616f5b1b50
@ -28,6 +28,7 @@ make_target() {
|
||||
export CMAKE_TOOLCHAIN_FILE="${CMAKE_CONF}"
|
||||
export CMAKE_INSTALL_PREFIX="/usr"
|
||||
|
||||
export BINDGEN_EXTRA_CLANG_ARGS="--sysroot=${SYSROOT_PREFIX}"
|
||||
export RUSTC_LINKER=${CC}
|
||||
cargo build \
|
||||
--target ${TARGET_NAME} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user