Merge pull request #79 from jmesmon/fix-same-target-host

rust-cross: fix build where TARGET_ARCH and HOST_ARCH are the same
This commit is contained in:
Doug Goldstein
2016-09-15 11:24:33 -05:00
committed by GitHub

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() {