diff options
-rw-r--r-- | meta/recipes-devtools/rust/rust_1.67.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rust/rust_1.67.1.bb b/meta/recipes-devtools/rust/rust_1.67.1.bb index eecb05ae02..83f9bec68a 100644 --- a/meta/recipes-devtools/rust/rust_1.67.1.bb +++ b/meta/recipes-devtools/rust/rust_1.67.1.bb | |||
@@ -200,7 +200,7 @@ rust_runx () { | |||
200 | 200 | ||
201 | # Copy the natively built llvm-config into the target so we can run it. Horrible, | 201 | # Copy the natively built llvm-config into the target so we can run it. Horrible, |
202 | # but works! | 202 | # but works! |
203 | if [ ${RUST_ALTERNATE_EXE_PATH_NATIVE} != ${RUST_ALTERNATE_EXE_PATH} ]; then | 203 | if [ ${RUST_ALTERNATE_EXE_PATH_NATIVE} != ${RUST_ALTERNATE_EXE_PATH} -a ! -f ${RUST_ALTERNATE_EXE_PATH} ]; then |
204 | mkdir -p `dirname ${RUST_ALTERNATE_EXE_PATH}` | 204 | mkdir -p `dirname ${RUST_ALTERNATE_EXE_PATH}` |
205 | cp ${RUST_ALTERNATE_EXE_PATH_NATIVE} ${RUST_ALTERNATE_EXE_PATH} | 205 | cp ${RUST_ALTERNATE_EXE_PATH_NATIVE} ${RUST_ALTERNATE_EXE_PATH} |
206 | chrpath -d ${RUST_ALTERNATE_EXE_PATH} | 206 | chrpath -d ${RUST_ALTERNATE_EXE_PATH} |