diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/rust-common.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/rust-common.bbclass b/meta/classes/rust-common.bbclass index e1bc0193c3..a8803d61b6 100644 --- a/meta/classes/rust-common.bbclass +++ b/meta/classes/rust-common.bbclass | |||
@@ -169,6 +169,11 @@ do_rust_create_wrappers () { | |||
169 | # Yocto Target / Rust Target archiver | 169 | # Yocto Target / Rust Target archiver |
170 | create_wrapper "${RUST_TARGET_AR}" "${WRAPPER_TARGET_AR}" | 170 | create_wrapper "${RUST_TARGET_AR}" "${WRAPPER_TARGET_AR}" |
171 | 171 | ||
172 | # Need to filter out LD_LIBRARY_PATH from the linker without using shell | ||
173 | mv ${RUST_BUILD_CCLD} ${RUST_BUILD_CCLD}.real | ||
174 | ${BUILD_CC} ${COREBASE}/meta/files/rust-ccld-wrapper.c -o ${RUST_BUILD_CCLD} | ||
175 | mv ${RUST_TARGET_CCLD} ${RUST_TARGET_CCLD}.real | ||
176 | ${BUILD_CC} ${COREBASE}/meta/files/rust-ccld-wrapper.c -o ${RUST_TARGET_CCLD} | ||
172 | } | 177 | } |
173 | 178 | ||
174 | addtask rust_create_wrappers before do_configure after do_patch | 179 | addtask rust_create_wrappers before do_configure after do_patch |