rust-cross: fix build where TARGET_ARCH and HOST_ARCH are the same
By copying exactly the target we intend to. Fixes #77
This commit is contained in:
1 parent
79166b9cf0
commit
237a22fd17
1 file changed
+1
-1
@@ -40,7 +40,7 @@ do_compile () {
|
||||
|
||||
do_install () {
|
||||
mkdir -p ${D}${prefix}/${base_libdir_native}/rustlib
|
||||
cp ${WORKDIR}/targets/${TARGET_ARCH}* ${D}${prefix}/${base_libdir_native}/rustlib
|
||||
cp ${WORKDIR}/targets/${TARGET_SYS}.json ${D}${prefix}/${base_libdir_native}/rustlib
|
||||
}
|
||||
|
||||
rust_cross_sysroot_preprocess() {
|
||||
|
||||
Reference in new issue
Block a user