Use proper configure flags to avoid manual library moving
This commit is contained in:
parent
2a8cc2de54
commit
e292751471
@ -20,7 +20,8 @@ build () {
|
||||
mkdir build && cd build
|
||||
|
||||
../configure \
|
||||
--prefix=/usr
|
||||
--prefix=/usr \
|
||||
--syslibdir=/usr/lib
|
||||
|
||||
make
|
||||
}
|
||||
@ -28,10 +29,6 @@ build () {
|
||||
package () {
|
||||
cd "${srcdir}/musl-${pkgver}/build"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
# Fix mislocated ld-musl-*.so
|
||||
mv "${pkgdir}"/lib/ld-musl*.so* "${pkgdir}"/usr/lib
|
||||
rmdir "${pkgdir}"/lib
|
||||
}
|
||||
|
||||
. ../common.sh
|
||||
|
Loading…
Reference in New Issue
Block a user