]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rust-cross-canadian: Fix for the issue caused by using sdk shell
authorSundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Wed, 7 Sep 2022 02:18:17 +0000 (07:48 +0530)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Sep 2022 07:52:07 +0000 (08:52 +0100)
commit7cd6faf4e0147eef557f83fb266a25935e26efff
treec87ded03465a91d8ce649d07e3b3a4065da919f3
parentcd549402c899585eb20466a728bf93f3133b0ff2
rust-cross-canadian: Fix for the issue caused by using sdk shell

This is a fix for the fix in YOCTO #14878. When the shebang is more than
128 characters the default shell /bin/sh is used instead of SDK shell as
a fallback, which causes problems with LD_LIBRARY_PATH. With this patch
shell usage is avoided as we use a C wrapper and unset LD_LIBRARY_PATH
that way.

[YOCTO #14892]

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rust/files/target-rust-ccld.c [new file with mode: 0644]
meta/recipes-devtools/rust/rust-cross-canadian.inc