rust: manually chmod to prep for lack of install.sh support for bindir

This commit is contained in:
Cody P Schafer
2014-12-29 13:27:00 -05:00
parent 2d84e74748
commit e532a5ba3d
+5
View File
@@ -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