From cef09a5551794b64ff51b94ed922a3959b368c0d Mon Sep 17 00:00:00 2001 From: Steven Walter Date: Thu, 12 Jul 2018 10:52:49 -0400 Subject: [PATCH] libstd-rs: support debug builds --- recipes-devtools/rust/libstd-rs.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-devtools/rust/libstd-rs.inc b/recipes-devtools/rust/libstd-rs.inc index 2eb4c25..39a803e 100644 --- a/recipes-devtools/rust/libstd-rs.inc +++ b/recipes-devtools/rust/libstd-rs.inc @@ -23,6 +23,6 @@ do_install () { # With the incremental build support added in 1.24, the libstd deps directory also includes dependency # files that get installed. Those are really only needed to incrementally rebuild the libstd library # itself and don't need to be installed. - rm ${B}/${TARGET_SYS}/release/deps/*.d - cp ${B}/${TARGET_SYS}/release/deps/* ${D}${rustlibdir} + rm ${B}/${TARGET_SYS}/${BUILD_DIR}/deps/*.d + cp ${B}/${TARGET_SYS}/${BUILD_DIR}/deps/* ${D}${rustlibdir} }