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:
Cody P Schafer
2016-09-14 00:00:59 -04:00
parent 79166b9cf0
commit 237a22fd17
+1 -1
View File
@@ -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() {