musl: disable wrappers and link ldd
This commit is contained in:
parent
3d8ff233dc
commit
27a0ae453b
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,8 @@ build() {
|
||||||
|
|
||||||
CC=$(pwd)/../$ARCH-linux-musl-cc ./configure \
|
CC=$(pwd)/../$ARCH-linux-musl-cc ./configure \
|
||||||
--prefix=$PREFIX \
|
--prefix=$PREFIX \
|
||||||
--target=$TRIPLE
|
--target=$TRIPLE \
|
||||||
|
--disable-wrapper
|
||||||
|
|
||||||
bad --gmake gmake
|
bad --gmake gmake
|
||||||
}
|
}
|
||||||
|
@ -37,6 +38,7 @@ package() {
|
||||||
rm $pkgdir/lib/ld-musl-$ARCH.so.1
|
rm $pkgdir/lib/ld-musl-$ARCH.so.1
|
||||||
mv $pkgdir/$PREFIX/lib/libc.so $pkgdir/lib/ld-musl-$ARCH.so.1
|
mv $pkgdir/$PREFIX/lib/libc.so $pkgdir/lib/ld-musl-$ARCH.so.1
|
||||||
ln -sr $pkgdir/lib/ld-musl-$ARCH.so.1 $pkgdir/$PREFIX/lib/libc.so
|
ln -sr $pkgdir/lib/ld-musl-$ARCH.so.1 $pkgdir/$PREFIX/lib/libc.so
|
||||||
|
ln -sr $pkgdir/lib/ld-musl-$ARCH.so.1 $pkgdir/$PREFIX/bin/ldd
|
||||||
}
|
}
|
||||||
|
|
||||||
backup() {
|
backup() {
|
||||||
|
|
Loading…
Reference in a new issue