Message ID | d8ccc3ad338a8020c998566249af2019baaa6e44.1739369945.git.steve@sakoman.com |
---|---|
State | Accepted, archived |
Commit | d8ccc3ad338a8020c998566249af2019baaa6e44 |
Delegated to: | Steve Sakoman |
Headers | show |
Series | [kirkstone,1/7] go: Fix CVE-2024-45336 | expand |
diff --git a/meta/classes/rust-common.bbclass b/meta/classes/rust-common.bbclass index cb811ac5da..1c34d4c8b9 100644 --- a/meta/classes/rust-common.bbclass +++ b/meta/classes/rust-common.bbclass @@ -6,7 +6,7 @@ FILES:${PN} += "${rustlibdir}/*.so" FILES:${PN}-dev += "${rustlibdir}/*.rlib ${rustlibdir}/*.rmeta" FILES:${PN}-dbg += "${rustlibdir}/.debug" -RUSTLIB = "-L ${STAGING_LIBDIR}/rust" +RUSTLIB ?= "-L ${STAGING_LIBDIR}/rust" RUST_DEBUG_REMAP = "--remap-path-prefix=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" RUSTFLAGS += "${RUSTLIB} ${RUST_DEBUG_REMAP}" RUSTLIB_DEP ?= "libstd-rs"