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 92e79fc2d3
commit 8662c92b99
+7
View File
@@ -334,6 +334,13 @@ 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}/rustc"
chmod +x "${D}/${bindir}/rustdoc"
chmod +x "${D}/${bindir}/rust-lldb"
# Install our custon target.json files
local td="${D}${libdir}/rust/targets/"
install -d "$td"
for tgt in "${WORKDIR}/targets/"* ; do