From 665213a13d5bb1525ba32926cdb31117182d3a55 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 5 Dec 2018 16:10:32 -0800 Subject: [PATCH] libstd-rs: Depend on libunwind on musl builds musl builds need libunwind.a to be in sysroot for libstd-rs to build unwinding support into it. This also means we need to compile libunwind with --enable-static in oe-core Signed-off-by: Khem Raj --- recipes-devtools/rust/libstd-rs.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-devtools/rust/libstd-rs.inc b/recipes-devtools/rust/libstd-rs.inc index ae8c539..44bc56f 100644 --- a/recipes-devtools/rust/libstd-rs.inc +++ b/recipes-devtools/rust/libstd-rs.inc @@ -6,6 +6,7 @@ LICENSE = "MIT | Apache-2.0" RUSTLIB_DEP = "" inherit cargo +DEPENDS_append_libc-musl = " libunwind" # Needed so cargo can find libbacktrace RUSTFLAGS += "-L ${STAGING_LIBDIR} -C link-arg=-Wl,-soname,libstd.so"