diff options
| -rw-r--r-- | meta/recipes-devtools/rust/rust-cross-canadian.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rust/rust-cross-canadian.inc b/meta/recipes-devtools/rust/rust-cross-canadian.inc index 2b09661542..77d45a37a3 100644 --- a/meta/recipes-devtools/rust/rust-cross-canadian.inc +++ b/meta/recipes-devtools/rust/rust-cross-canadian.inc | |||
| @@ -7,12 +7,13 @@ LICENSE = "MIT" | |||
| 7 | 7 | ||
| 8 | MODIFYTOS = "0" | 8 | MODIFYTOS = "0" |
| 9 | 9 | ||
| 10 | # Need to use our SDK's sh here, see #14878 | ||
| 10 | create_sdk_wrapper () { | 11 | create_sdk_wrapper () { |
| 11 | file="$1" | 12 | file="$1" |
| 12 | shift | 13 | shift |
| 13 | 14 | ||
| 14 | cat <<- EOF > "${file}" | 15 | cat <<- EOF > "${file}" |
| 15 | #!/bin/sh | 16 | #!${base_prefix}/bin/sh |
| 16 | \$$1 \$@ | 17 | \$$1 \$@ |
| 17 | EOF | 18 | EOF |
| 18 | 19 | ||
