rust: manually chmod to prep for lack of install.sh support for bindir
This commit is contained in:
1 parent
2d84e74748
commit
e532a5ba3d
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user