From e532a5ba3df0b38d957497ceaf17638e59cf8a05 Mon Sep 17 00:00:00 2001 From: Cody P Schafer Date: Mon, 29 Dec 2014 13:27:00 -0500 Subject: [PATCH] rust: manually chmod to prep for lack of install.sh support for bindir --- recipes/rust/rust.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes/rust/rust.inc b/recipes/rust/rust.inc index a7adafa..d8eac74 100644 --- a/recipes/rust/rust.inc +++ b/recipes/rust/rust.inc @@ -334,6 +334,11 @@ do_compile () { rust_do_install () { rust_runmake DESTDIR="${D}" install + # Rust's install.sh doesn't mark executables as executable because + # we're using a custom bindir, do it ourselves. + chmod +x "${D}/${bindir}/*" + + # Install our custon target.json files local td="${D}${libdir}/rust/targets/" install -d "$td" for tgt in "${WORKDIR}/targets/"* ; do