diff --git a/package/rust/rust.mk b/package/rust/rust.mk index 3c560882ca..cd8c87b68d 100644 --- a/package/rust/rust.mk +++ b/package/rust/rust.mk @@ -56,6 +56,7 @@ define HOST_RUST_CONFIGURE_CMDS echo 'sysconfdir = "$(HOST_DIR)/etc"'; \ echo '[rust]'; \ echo 'channel = "stable"'; \ + echo 'musl-root = "$(STAGING_DIR)"' ; \ echo '[target.$(RUSTC_TARGET_NAME)]'; \ echo 'cc = "$(TARGET_CROSS)gcc"'; \ echo '[llvm]'; \