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 <raj.khem@gmail.com>
This commit is contained in:
@@ -6,6 +6,7 @@ LICENSE = "MIT | Apache-2.0"
|
|||||||
RUSTLIB_DEP = ""
|
RUSTLIB_DEP = ""
|
||||||
inherit cargo
|
inherit cargo
|
||||||
|
|
||||||
|
DEPENDS_append_libc-musl = " libunwind"
|
||||||
# Needed so cargo can find libbacktrace
|
# Needed so cargo can find libbacktrace
|
||||||
RUSTFLAGS += "-L ${STAGING_LIBDIR} -C link-arg=-Wl,-soname,libstd.so"
|
RUSTFLAGS += "-L ${STAGING_LIBDIR} -C link-arg=-Wl,-soname,libstd.so"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user