Corrected musl install to allow C++ to work

This commit is contained in:
Ella-0 2021-01-28 12:37:51 +00:00
parent 71a9af0b96
commit 4eb7ec623a

View file

@ -19,10 +19,7 @@ build() {
package() {
cd $pkgname-$pkgver
gmake install DESTDIR=$pkgdir
mv $pkgdir/usr/lib/libc.so $pkgdir/lib
ln -sr $pkgdir/lib/libc.so $pkgdir/lib/ld-musl-x86_64.so.1
rm -r $pkgdir/usr
install -d $pkgdir/usr/bin
rm -r $pkgdir/usr/include
ln -sr $pkgdir/lib/ld-musl*.so? $pkgdir/usr/bin/ldd
}