mirror of
git://git.yoctoproject.org/poky
synced 2026-08-11 09:13:50 +00:00
rust-cross-canadian: Use shell from SDK, not the host
rust sets LD_LIBRARY_PATH which causes a lot of problems with host binaries conflicting with SDK libraries. By using sh/bash from the SDK we avoid those issues. [YOCTO #14878] (From OE-Core rev: dabd97e78a599a81c056c0f3291244f5afae44b0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7275846f45
commit
0650f9c770
@ -7,12 +7,13 @@ LICENSE = "MIT"
|
||||
|
||||
MODIFYTOS = "0"
|
||||
|
||||
# Need to use our SDK's sh here, see #14878
|
||||
create_sdk_wrapper () {
|
||||
file="$1"
|
||||
shift
|
||||
|
||||
cat <<- EOF > "${file}"
|
||||
#!/bin/sh
|
||||
#!${base_prefix}/bin/sh
|
||||
\$$1 \$@
|
||||
EOF
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user