fix rust bootstrap

This commit is contained in:
Ella Stanforth 2022-04-28 19:52:34 +00:00
parent 09ab08e335
commit 47c2233e4e

View file

@ -17,14 +17,14 @@ build() {
}
package() {
stat $pkgdir/opt/rust/lib/rustlib/uninstall.sh > /dev/null 2> /dev/null \
[ -f $pkgdir/opt/rust/lib/rustlib/uninstall.sh ] \
|| ./rust-$pkgver-$ARCH-unknown-linux-musl/install.sh \
--disable-ldconfig \
--destdir=$pkgdir \
--prefix=/opt/rust
stat $pkgdir/opt/rust/lib/libgcc_s.so \
|| cp ./libgcc_s.so $pkgdir/opt/rust/lib/libgcc_s.so
[ -f $pkgdir/opt/rust/lib/libgcc_s.so.1 ] \
|| cp ./libgcc_s.so $pkgdir/opt/rust/lib/libgcc_s.so.1
}
backup() {