musl: switch ld.so and libc.so
This commit is contained in:
parent
bb882a72a6
commit
d161a8f389
1 changed files with 7 additions and 0 deletions
|
@ -24,6 +24,12 @@ package() {
|
|||
gmake install DESTDIR=$pkgdir
|
||||
rm -r $pkgdir/usr/include
|
||||
install -d $pkgdir/usr/bin
|
||||
|
||||
rm $pkgdir/lib/ld-musl-$(uname -m).so.1
|
||||
mv $pkgdir/usr/lib/libc.so $pkgdir/lib/ld-musl-$(uname -m).so.1
|
||||
|
||||
ln -sr $pkgdir/lib/ld-musl-$(uname -m).so.1 $pkgdir/usr/lib/libc.so
|
||||
|
||||
ln -sr $pkgdir/lib/ld-musl-$(uname -m).so.1 $pkgdir/usr/bin/ldd
|
||||
}
|
||||
|
||||
|
@ -31,6 +37,7 @@ package_dev() {
|
|||
cd $pkgname-$pkgver
|
||||
gmake install DESTDIR=$pkgdir
|
||||
rm $pkgdir/usr/lib/*.so
|
||||
rm -rf $pkgdir/lib
|
||||
}
|
||||
|
||||
license() {
|
||||
|
|
Loading…
Reference in a new issue