mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 20:34:17 +08:00
Fix stage function in rust recipe
This commit is contained in:
parent
c06acad0df
commit
3ee95ecad2
@ -36,8 +36,8 @@ function recipe_stage {
|
||||
binpath="$1/bin"
|
||||
libpath="$1/lib/rustlib/${TARGET}/lib"
|
||||
mkdir -p "$binpath" "$libpath"
|
||||
cp -fv "build/${TARGET}/stage2/bin/rustc" "$binpath"
|
||||
cp -fv "build/${TARGET}/stage2/bin/"* "$binpath"
|
||||
${STRIP} "$binpath/rustc"
|
||||
cp -fv $(find build/${TARGET}/stage2/lib/rustlib/${TARGET}/lib/ -type f | grep -v librustc) "$libpath"
|
||||
cp -fv $(find build/*/stage2/lib/rustlib/${TARGET}/lib/ -type f | grep -v librustc) "$libpath"
|
||||
skip=1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user